gammapy
0.12

Getting Started

  • Getting Started
    • Help!?
    • Install
    • Download tutorials
    • Check your setup
    • Use Gammapy
      • Python
      • IPython
      • Python script
      • Command line
      • Jupyter notebooks
    • Install issues
  • Tutorial notebooks
    • Notebooks
      • Getting started with Gammapy
        • Introduction
        • Setup
        • Maps
        • Event lists
        • Source catalogs
        • Spectral models and flux points
        • What next?
      • Gammapy Maps
        • Introduction
        • 0. Setup
        • 1. Creating WCS Maps
        • 2. Accessing and Modifying Data
        • 3. Reading and Writing
        • 4. Visualizing and Plotting
        • 5. Reprojecting, Interpolating and Miscellaneous
      • CTA first data challenge (1DC) with Gammapy
        • Introduction
        • Notebook and Gammapy Setup
        • DC-1 data
        • EVENT data
        • EVENT analysis example
        • IRFs
        • Index files and DataStore
        • Select observations
        • Load data
        • Model XML files
        • Exercises
        • What next?
      • CTA data analysis with Gammapy
        • Introduction
        • Setup
        • Select observations
        • Make sky images
        • Source Detection
        • Spatial analysis
        • Spectrum
        • Exercises
        • What next?
      • 3D analysis
        • Setup
        • Prepare modeling input data
        • Likelihood fit
        • Computing Flux Points
        • Summary
        • Exercises
      • Joint 3D Analysis
        • Prepare modeling input data
        • Likelihood fit
        • Plotting residuals
      • 3D simulation and fitting
        • Imports and versions
        • Simulate
        • Fit
      • H.E.S.S. with Gammapy
        • Data access
        • Maps
        • PSF
        • Map fit
        • Residual image
        • Spectrum
        • Classical Ring Background Analysis
        • Exercises
      • Source detection with Gammapy
        • Introduction
        • Setup
        • Read in input images
        • Plot images
        • Source catalog
        • Measurements
        • Compare to 3FHL
        • Exercises
        • What next?
      • Fitting 2D images with Sherpa
        • Introduction
        • Necessary imports
        • Generate the required Maps
        • Making a PSF Map
        • Make 2D images from 3D ones
        • Read the maps and store them in a sherpa model
        • Find and fit the brightest source
        • Iteratively find and fit additional sources
        • Generating output table and Test Statistics estimation
        • Exercises
        • More about sherpa
      • Spectral analysis with Gammapy
        • Introduction
        • Setup
        • Load Data
        • Define Target Region
        • Create exclusion mask
        • Estimate background
        • Source statistic
        • Extract spectrum
        • Fit spectrum
        • Compute Flux Points
        • Stack observations
        • Exercises
      • Fitting gammapy spectra with sherpa
        • Load data stack
        • Define source model
        • Fit and error estimation
        • Results plot
        • Errors and confidence contours
        • Exercises
      • Flux point fitting in Gammapy
        • Introduction
        • Setup
        • Load spectral points
        • Power Law Fit
        • Exponential Cut-Off Powerlaw Fit
        • Log-Parabola Fit
        • Exercises
        • What next?
      • Fermi-LAT data with Gammapy
        • Introduction
        • Setup
        • Events
        • Counts
        • Exposure
        • Galactic diffuse background
        • Isotropic diffuse background
        • PSF
        • Background
        • Excess and flux
        • Fit
        • Exercises
        • Summary
      • Light curves
        • Introduction
        • Setup
        • Spectrum
        • Light curve estimation
        • Results
        • Exercises
      • Estimation of the CTA point source sensitivity
        • Introduction
        • Setup
        • Define analysis region and energy binning
        • Load IRFs
        • Determine energy dependent integration radius
        • Estimate background
        • Compute sensitivity
        • Results
        • Exercises
      • Spectrum simulation for CTA
        • Setup
        • Simulation of a single spectrum
        • Include Background
        • Adding a user defined model
        • Exercises
        • What next?
      • Fitting 2D images with Gammapy
        • Setup
        • Prepare modeling input data
        • Define a mask
        • Modeling the source
        • Modeling the background
        • Todo: Demonstrate plotting a flux map
        • Exercises
    • Extra topics
      • HGPS
        • Introduction
        • Notebook Overview
        • Packages
        • Setup
        • Download Data
        • Catalog with Astropy
        • Maps with Astropy
        • Catalog with Gammapy
        • Maps with Gammapy
        • Conclusions
        • Exercises
      • Astrophysical source population modeling with Gammapy
        • Introduction
        • Setup
        • Simulate positions
        • Simulate luminosities
        • Compute observable parameters
        • Check output
        • Exercises
        • What next?
      • CWT Algorithm
        • Setup
        • CWT Algorithm
        • Results of analysis
      • Dark matter utilities
        • Introduction
        • Setup
        • Profiles
        • J Factors
        • Gamma-ray spectra at production
        • Flux maps
      • Make template background model
        • Introduction
        • Setup
        • Select off data
        • Background model
        • Zenith dependence
        • Index tables
        • Exercises
      • Fitting and error estimation with MCMC
        • Introduction
        • Simulate an observation
        • Estimate parameter correlations with MCMC
        • Plotting the results
        • Plot the results
        • Plot the model dispersion
        • Fun Zone
        • PeVatrons in CTA ?
      • Pulsar analysis with Gammapy
        • Introduction
        • Opening the data
        • Phasogram
        • Phase-resolved map
        • Phase-resolved spectrum
    • Basics
  • Installation
    • Quick install guide
      • Stable version
      • Development version
      • Verify
    • Need help?
    • Detailed information
      • Installation with conda
      • Installation with pip or setup.py
        • pip
        • setup.py
      • Installation with Macports
      • Other package managers
        • apt-get
        • yum
        • Homebrew
        • Fermi ScienceTools
      • Check Gammapy installation
        • How to run checks
        • Common issues
        • Known issues
      • Dependencies
  • References
    • Publications
    • Glossary
    • Other gamma-ray packages
    • Other useful packages
  • Changelog
    • 0.12 (May 30, 2019)
      • Summary
      • Pull Requests
    • 0.11 (Mar 29, 2019)
      • Summary
      • Pull requests
    • 0.10 (Jan 28, 2019)
      • Summary
      • Pull requests
    • 0.9 (Nov 29, 2018)
      • Summary
      • Pull requests
    • 0.8 (Sep 23, 2018)
      • Summary
      • Pull requests
    • 0.7 (Feb 28, 2018)
      • Summary
      • Pull requests
    • 0.6 (Apr 28, 2017)
      • Summary
      • Pull requests
    • 0.5 (Nov 22, 2016)
      • Summary
      • Pull requests
    • 0.4 (Apr 20, 2016)
      • Summary
      • Pull requests
    • 0.3 (Aug 13, 2015)
      • Summary
      • Pull requests
    • 0.2 (Apr 13, 2015)
      • Summary
      • Pull requests
    • 0.1 (Aug 25, 2014)
      • Summary
      • Pull requests

Gammapy Package

  • data - Data and observations
    • Introduction
    • Getting Started
    • Using gammapy.data
    • Reference/API
      • gammapy.data Package
        • Classes
        • Variables
  • irf - Instrument response functions
    • Introduction
    • Getting Started
    • Effective area
    • Background
    • PSF
    • Energy Dispersion
    • Using gammapy.irf
      • IRF Theory
      • Effective area
      • Energy dispersion
    • Reference/API
      • gammapy.irf Package
        • Functions
        • Classes
  • maps - Sky maps
    • Introduction
    • Getting Started
      • Constructing with Factory Methods
      • Indexing and Slicing
      • Accessor Methods
      • Interface with MapCoord and SkyCoord
      • MapCoord
      • Interpolation
      • Projection
      • Iterating on a Map
      • FITS I/O
      • Visualization
    • Examples
      • Creating a Counts Cube from an FT1 File
      • Generating a Cutout of a Model Cube
    • Using gammapy.maps
      • HEALPix-based Maps
        • HEALPix Geometry
        • Sparse Maps
      • WCS-based Maps
    • Reference/API
      • gammapy.maps Package
        • Classes
        • Class Inheritance Diagram
  • image - Map image analysis
    • Introduction
    • Getting Started
    • Using gammapy.image
      • Morphology models (gammapy.image.models)
        • Introduction
        • Getting Started
        • Reference/API
      • Image plotting
        • Colormaps
    • Reference/API
      • gammapy.image Package
        • Functions
        • Classes
      • gammapy.image.models Package
        • Classes
  • cube - Map cube analysis
    • Introduction
    • Getting Started
    • Using gammapy.cube
    • Reference/API
      • gammapy.cube Package
        • Functions
        • Classes
      • gammapy.cube.models Module
        • Classes
  • detect - Source detection
    • Introduction
    • Computation of TS images
    • Computation of Li & Ma significance images
    • Using gammapy.detect
    • Reference/API
      • gammapy.detect Package
        • Functions
        • Classes
  • background - Background modeling
    • Introduction
    • Getting Started
    • Using gammapy.background
      • Reflected regions
    • Reference/API
      • gammapy.background Package
        • Functions
        • Classes
  • spectrum - 1D spectrum analysis
    • Introduction
    • Getting Started
    • Using gammapy.spectrum
      • Spectral Fitting
        • Getting Started
        • Interactive Sherpa Fit
    • Reference/API
      • gammapy.spectrum Package
        • Functions
        • Classes
      • gammapy.spectrum.models Module
        • Classes
  • time - Time analysis
    • Introduction
    • Getting Started
      • Lightcurve
      • Variability test
    • Other codes
    • Using gammapy.time
      • Period detection and plotting
        • Introduction
        • Getting Started
        • Example
    • Reference/API
      • gammapy.time Package
        • Functions
        • Classes
      • gammapy.time.models Module
        • Classes
  • stats - Statistics
    • Introduction
    • Getting Started
      • Li & Ma Significance
      • Confidence Intervals
    • Using gammapy.stats
      • Feldman and Cousins Confidence Intervals
        • Examples
        • Acceptance Interval Fixing
        • Sensitivity
        • General Case
        • Verification
      • Fit statistics
        • Introduction
        • Gaussian data
        • Poisson data
        • Poisson data with background measurement
        • Further references
    • Reference/API
      • gammapy.stats Package
        • Functions
        • Classes
  • utils - Utilities
    • Introduction
    • Time handling in Gammapy
      • Time format and scale
      • Mission elapsed times (MET)
      • Time differences
    • Energy handling in Gammapy
      • Basics
      • Energy
      • EnergyBounds
    • Reference/API
      • gammapy.utils.energy Module
        • Classes
      • gammapy.utils.units Module
        • Functions
      • gammapy.utils.coordinates Package
        • Functions
        • Variables
      • gammapy.utils.interpolation Module
        • Functions
        • Classes
      • gammapy.utils.table Module
        • Functions
      • gammapy.utils.fits Module
        • Gammapy FITS utilities
        • Functions
        • Classes
      • gammapy.utils.random Module
        • Functions
      • gammapy.utils.distributions Package
        • Functions
        • Classes
      • gammapy.utils.scripts Module
        • Functions
      • gammapy.utils.testing Module
        • Functions
        • Classes
      • gammapy.utils.nddata Module
        • Functions
        • Classes
      • gammapy.utils.time Module
        • Functions
      • gammapy.utils.fitting Package
        • Functions
        • Classes
  • scripts - Command line tools
    • Introduction
      • Execute
      • Command not found
      • Example
    • Reference
      • gammapy
        • check
        • download
        • image
        • info
        • jupyter
    • Implementation
    • Limitations
    • Plan
    • Write your own CLI
    • Reference/API
      • gammapy.scripts Package
        • Classes
  • catalog - Source catalogs
    • Introduction
      • Available catalogs
      • How it works
    • Getting Started
    • Using gammapy.catalog
      • gamma-cat
        • Catalog
        • Data collection
    • Reference/API
      • gammapy.catalog Package
        • Functions
        • Classes
        • Variables
  • astro - Astrophysics
    • Introduction
    • Getting Started
    • Sub-packages
      • Astrophysical source models (gammapy.astro.source)
        • Introduction
        • Getting Started
        • Using gammapy.astro.source
        • Reference/API
      • Astrophysical source population models (gammapy.astro.population)
        • Introduction
        • Getting Started
        • Reference/API
      • Dark matter (gammapy.astro.darkmatter)
        • Introduction
        • Other packages
        • Using gammapy.spectrum
        • Reference/API

Developer Documentation

  • Developer documentation
    • How to contribute to Gammapy?
    • Gammapy project setup
    • Developer HOWTO
    • How to make a Gammapy release
    • PIGs
      • PIG 1 - PIG purpose and guidelines
      • PIG 2 - Organization of low-level analysis code
      • PIG 3 - Plan for dropping Python 2.7 support
      • PIG 4 - Setup for tutorial notebooks and data
      • PIG 5 - Gammapy 1.0 Roadmap
    • Data Formats
gammapy
  • Docs »
  • Search


© Copyright 2019, The Gammapy developers Last updated on 30 May 2019.

Built with Sphinx using a theme provided by Read the Docs.