Getting started
User guide
Tutorials
API reference
Developer guide
Release notes
1.0.1
Github
Twitter
Slack
data - DL3 data and observations
DataStore
EventList
FixedPointingInfo
GTI
HDUIndexTable
Observation
ObservationFilter
Observations
ObservationTable
PointingInfo
observatory_locations
irf - Instrument response functions
load_cta_irfs
load_irf_dict_from_file
Background2D
Background3D
EDispKernel
EDispKernelMap
EDispMap
EffectiveAreaTable2D
EnergyDependentMultiGaussPSF
EnergyDispersion2D
FoVAlignment
IRFMap
ParametricPSF
PSF3D
PSFKernel
PSFKing
PSFMap
RecoPSFMap
RadMax2D
IRF_REGISTRY
makers - Data reduction
AdaptiveRingBackgroundMaker
DatasetsMaker
FoVBackgroundMaker
Maker
MapDatasetMaker
PhaseBackgroundMaker
ReflectedRegionsBackgroundMaker
ReflectedRegionsFinder
RegionsFinder
RingBackgroundMaker
SafeMaskMaker
SpectrumDatasetMaker
WobbleRegionsFinder
MAKER_REGISTRY
make_counts_rad_max
make_edisp_kernel_map
make_edisp_map
make_map_background_irf
make_map_exposure_true_energy
make_psf_map
make_theta_squared_table
datasets - Reduced datasets
create_map_dataset_geoms
Dataset
Datasets
FluxPointsDataset
MapDataset
MapDatasetEventSampler
MapDatasetOnOff
OGIPDatasetWriter
OGIPDatasetReader
SpectrumDataset
SpectrumDatasetOnOff
DATASET_REGISTRY
maps - Sky maps
Geom
HpxGeom
HpxMap
HpxNDMap
LabelMapAxis
Map
MapAxes
MapAxis
MapCoord
Maps
RegionGeom
RegionNDMap
TimeMapAxis
WcsGeom
WcsMap
WcsNDMap
modeling - Models and fitting
Covariance
Fit
Parameter
Parameters
create_cosmic_ray_spectral_model
create_crab_spectral_model
create_fermi_isotropic_diffuse_model
integrate_spectrum
scale_plot_flux
BrokenPowerLawSpectralModel
CompoundSpectralModel
ConstantFluxSpatialModel
ConstantSpatialModel
ConstantSpectralModel
ConstantTemporalModel
DatasetModels
DiskSpatialModel
EBLAbsorptionNormSpectralModel
ExpCutoffPowerLaw3FGLSpectralModel
ExpCutoffPowerLawNormSpectralModel
ExpCutoffPowerLawSpectralModel
ExpDecayTemporalModel
FoVBackgroundModel
GaussianSpatialModel
GaussianSpectralModel
GaussianTemporalModel
GeneralizedGaussianSpatialModel
GeneralizedGaussianTemporalModel
LightCurveTemplateTemporalModel
LinearTemporalModel
LogParabolaNormSpectralModel
LogParabolaSpectralModel
MeyerCrabSpectralModel
Model
Models
ModelBase
NaimaSpectralModel
PiecewiseNormSpectralModel
PointSpatialModel
PowerLaw2SpectralModel
PowerLawNormSpectralModel
PowerLawSpectralModel
PowerLawTemporalModel
ScaleSpectralModel
Shell2SpatialModel
ShellSpatialModel
SineTemporalModel
SkyModel
SmoothBrokenPowerLawSpectralModel
SpatialModel
SpectralModel
SuperExpCutoffPowerLaw3FGLSpectralModel
SuperExpCutoffPowerLaw4FGLDR3SpectralModel
SuperExpCutoffPowerLaw4FGLSpectralModel
TemplatePhaseCurveTemporalModel
TemplateSpatialModel
TemplateSpectralModel
TemplateNDSpectralModel
TemplateNPredModel
TemporalModel
MODEL_REGISTRY
SPATIAL_MODEL_REGISTRY
SPECTRAL_MODEL_REGISTRY
TEMPORAL_MODEL_REGISTRY
estimators - High level estimators
ASmoothMapEstimator
Estimator
ExcessMapEstimator
FluxMaps
FluxPoints
FluxPointsEstimator
FluxProfileEstimator
ImageProfile
ImageProfileEstimator
LightCurveEstimator
SensitivityEstimator
TSMapEstimator
ESTIMATOR_REGISTRY
estimate_exposure_reco_energy
find_peaks
resample_energy_edges
analysis - High level interface
Analysis
AnalysisConfig
catalog - Source catalogs
SourceCatalog
SourceCatalog2FHL
SourceCatalog2HWC
SourceCatalog3FGL
SourceCatalog3FHL
SourceCatalog3HWC
SourceCatalog4FGL
SourceCatalogGammaCat
SourceCatalogHGPS
SourceCatalogLargeScaleHGPS
SourceCatalogObject
SourceCatalogObject2FHL
SourceCatalogObject2HWC
SourceCatalogObject3FGL
SourceCatalogObject3FHL
SourceCatalogObject3HWC
SourceCatalogObject4FGL
SourceCatalogObjectGammaCat
SourceCatalogObjectHGPS
SourceCatalogObjectHGPSComponent
CATALOG_REGISTRY
astro - Astrophysics
DarkMatterAnnihilationSpectralModel
JFactory
PrimaryFlux
add_observed_parameters
add_pulsar_parameters
add_pwn_parameters
add_snr_parameters
make_base_catalog_galactic
make_catalog_random_positions_cube
make_catalog_random_positions_sphere
CaseBattacharya1998
Exponential
FaucherKaspi2006
FaucherKaspi2006VelocityBimodal
FaucherKaspi2006VelocityMaxwellian
FaucherSpiral
LogSpiral
Lorimer2006
Paczynski1990
Paczynski1990Velocity
ValleeSpiral
YusifovKucuk2004
YusifovKucuk2004B
radial_distributions
velocity_distributions
Pulsar
PWN
SimplePulsar
SNR
SNRTrueloveMcKee
stats - Statistics
cash
cash_sum_cython
cstat
f_cash_root_cython
get_wstat_gof_terms
get_wstat_mu_bkg
norm_bounds_cython
wstat
CashCountsStatistic
WStatCountsStatistic
scripts - Command line tools
visualization - Plotting features
annotate_heatmap
colormap_hess
colormap_milagro
plot_contour_line
plot_heatmap
plot_spectrum_datasets_off_regions
plot_theta_squared_table
MapPanelPlotter
utils - Utilities
cartesian
fov_to_sky
galactic
motion_since_birth
polar
sky_to_fov
velocity_glon_glat
D_SUN_TO_GALACTIC_CENTER
trapz_loglog
interpolate_profile
interpolation_scale
ScaledRegularGridInterpolator
earth_location_from_dict
LazyFitsData
HDULocation
draw
get_random_state
normalize
pdf
sample_powerlaw
sample_sphere
sample_sphere_distance
sample_times
InverseCDFSampler
compound_region_to_regions
make_concentric_annulus_sky_regions
make_orthogonal_rectangle_sky_regions
regions_to_compound_region
get_images_paths
make_path
read_yaml
recursive_merge_dicts
write_yaml
hstack_columns
table_from_row_data
table_row_to_dict
table_standardise_units_copy
table_standardise_units_inplace
assert_quantity_allclose
assert_skycoord_allclose
assert_time_allclose
mpl_plot_check
requires_data
requires_dependency
Checker
absolute_time
time_ref_from_dict
time_ref_to_dict
time_relative_to_ref
standardise_unit
unit_from_fits_image_hdu
cartesian
#
gammapy.utils.coordinates.
cartesian
(
r
,
theta
)
[source]
#
Convert polar coordinates to cartesian coordinates.