Skip to content

Commit

Permalink
commit docs dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 24, 2023
1 parent 7e99f7f commit 5299b7f
Show file tree
Hide file tree
Showing 845 changed files with 1,289 additions and 1,165 deletions.
Binary file modified docs/dev/.doctrees/api-reference/datasets.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.data.EventList.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.data.Observation.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.datasets.Datasets.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.datasets.MapDataset.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.datasets.MapDatasetOnOff.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.datasets.SpectrumDataset.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.irf.EDispKernelMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.irf.EDispMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.irf.IRFMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.irf.PSFMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.irf.RecoPSFMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.HpxMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.HpxNDMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.Map.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.Maps.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.RegionNDMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.WcsMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/api/gammapy.maps.WcsNDMap.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/dev/.doctrees/index.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-1d/cta_sensitivity.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-1d/sed_fitting.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-2d/detect.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-2d/modeling_2D.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-2d/ring_background.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-3d/analysis_3d.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-3d/analysis_mwl.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-3d/event_sampling.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-3d/flux_profiles.doctree
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-3d/simulate_3d.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/analysis-time/light_curve.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/astro_dark_matter.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/catalog.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/datasets.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/fitting.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/makers.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/maps.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/mask_maps.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/model_management.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/models.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/api/sg_execution_times.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/data/cta.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/data/fermi_lat.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/data/hawc.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/data/hess.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/data/sg_execution_times.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/scripts/sg_execution_times.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/starting/analysis_1.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/starting/analysis_2.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/starting/overview.doctree
Binary file not shown.
Binary file modified docs/dev/.doctrees/tutorials/starting/sg_execution_times.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/_downloads/432ee3a608125ae95df2e8d950f07716/dl3-1.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/_downloads/84424d59ec624940199b69d87a792d50/index-1.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/_downloads/c6bad13b7bd034ce07497e4d5025d5d2/edisp-1.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/dev/_images/plot_spiral_arms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_light_curve_simulation_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_light_curve_simulation_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_light_curve_simulation_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_constant_temporal_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_constant_temporal_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_linear_temporal_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_linear_temporal_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_powerlaw_temporal_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_powerlaw_temporal_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_sine_temporal_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_plot_sine_temporal_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_simulate_3d_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_simulate_3d_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_simulate_3d_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dev/_images/sphx_glr_spectral_analysis_rad_max_005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/analysis/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/analysis/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/darkmatter/profiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/darkmatter/spectra.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/darkmatter/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/population/simulate.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/population/spatial.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/population/velocity.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/source/pulsar.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/source/pwn.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/astro/source/snr.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/catalog/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/catalog/fermi.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/catalog/gammacat.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/catalog/hawc.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/catalog/hess.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/catalog/lhaaso.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/data/data_store.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
11 changes: 7 additions & 4 deletions docs/dev/_modules/gammapy/data/event_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down Expand Up @@ -265,8 +265,8 @@ <h1>Source code for gammapy.data.event_list</h1><div class="highlight"><pre>
<span></span><span class="c1"># Licensed under a 3-clause BSD style license - see LICENSE.rst</span>
<span class="kn">import</span> <span class="nn">collections</span>
<span class="kn">import</span> <span class="nn">copy</span>
<span class="kn">import</span> <span class="nn">logging</span>
<span class="kn">import</span> <span class="nn">html</span>
<span class="kn">import</span> <span class="nn">logging</span>
<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
<span class="kn">from</span> <span class="nn">astropy</span> <span class="kn">import</span> <span class="n">units</span> <span class="k">as</span> <span class="n">u</span>
<span class="kn">from</span> <span class="nn">astropy.coordinates</span> <span class="kn">import</span> <span class="n">AltAz</span><span class="p">,</span> <span class="n">Angle</span><span class="p">,</span> <span class="n">SkyCoord</span><span class="p">,</span> <span class="n">angular_separation</span>
Expand Down Expand Up @@ -394,7 +394,7 @@ <h1>Source code for gammapy.data.event_list</h1><div class="highlight"><pre>

<span class="k">return</span> <span class="n">fits</span><span class="o">.</span><span class="n">BinTableHDU</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">table</span><span class="p">,</span> <span class="n">name</span><span class="o">=</span><span class="s2">&quot;EVENTS&quot;</span><span class="p">)</span></div>

<div class="viewcode-block" id="EventList.write"><a class="viewcode-back" href="../../../api/gammapy.data.EventList.html#gammapy.data.EventList.write">[docs]</a> <span class="k">def</span> <span class="nf">write</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">filename</span><span class="p">,</span> <span class="n">gti</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">overwrite</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="nb">format</span><span class="o">=</span><span class="s2">&quot;gadf&quot;</span><span class="p">):</span>
<div class="viewcode-block" id="EventList.write"><a class="viewcode-back" href="../../../api/gammapy.data.EventList.html#gammapy.data.EventList.write">[docs]</a> <span class="k">def</span> <span class="nf">write</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">filename</span><span class="p">,</span> <span class="n">gti</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">overwrite</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="nb">format</span><span class="o">=</span><span class="s2">&quot;gadf&quot;</span><span class="p">,</span> <span class="n">checksum</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Write the event list to a FITS file.</span>

<span class="sd"> If a GTI object is provided, it is saved into</span>
Expand All @@ -412,6 +412,9 @@ <h1>Source code for gammapy.data.event_list</h1><div class="highlight"><pre>
<span class="sd"> format : str, optional</span>
<span class="sd"> FITS format convention. By default files will be written</span>
<span class="sd"> to the gamma-astro-data-formats (GADF) format.</span>
<span class="sd"> checksum : bool</span>
<span class="sd"> When True adds both DATASUM and CHECKSUM cards to the headers written to the file.</span>
<span class="sd"> Default is False.</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="k">if</span> <span class="nb">format</span> <span class="o">!=</span> <span class="s2">&quot;gadf&quot;</span><span class="p">:</span>
Expand Down Expand Up @@ -441,7 +444,7 @@ <h1>Source code for gammapy.data.event_list</h1><div class="highlight"><pre>
<span class="n">hdu_gti</span> <span class="o">=</span> <span class="n">gti</span><span class="o">.</span><span class="n">to_table_hdu</span><span class="p">(</span><span class="nb">format</span><span class="o">=</span><span class="nb">format</span><span class="p">)</span>
<span class="n">hdu_all</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">hdu_gti</span><span class="p">)</span>

<span class="n">hdu_all</span><span class="o">.</span><span class="n">writeto</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="n">overwrite</span><span class="o">=</span><span class="n">overwrite</span><span class="p">)</span></div>
<span class="n">hdu_all</span><span class="o">.</span><span class="n">writeto</span><span class="p">(</span><span class="n">filename</span><span class="p">,</span> <span class="n">overwrite</span><span class="o">=</span><span class="n">overwrite</span><span class="p">,</span> <span class="n">checksum</span><span class="o">=</span><span class="n">checksum</span><span class="p">)</span></div>

<div class="viewcode-block" id="EventList.from_stack"><a class="viewcode-back" href="../../../api/gammapy.data.EventList.html#gammapy.data.EventList.from_stack">[docs]</a> <span class="nd">@classmethod</span>
<span class="k">def</span> <span class="nf">from_stack</span><span class="p">(</span><span class="bp">cls</span><span class="p">,</span> <span class="n">event_lists</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/data/filters.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/data/gti.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/data/hdu_index_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/data/metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/_modules/gammapy/data/obs_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

$("#version_switcher_menu").append(node);
// replace dropdown button text with the preferred display name of
// this version, rather than using sphinx's 1.2.dev859+gc5c1a5b66 variable.
// this version, rather than using sphinx's 1.2.dev870+g61c8b2c13 variable.
// also highlight the dropdown entry for the currently-viewed
// version's entry
if (entry.version == "dev") {
Expand Down
Loading

0 comments on commit 5299b7f

Please sign in to comment.