question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Re-structure gammapy.time documentation

See original GitHub issue

gammapy.time documentation must be deeply re-structured.

  • the LightCurve object must be briefly presented with a reference to (gadf)[https://gamma-astro-data-formats.readthedocs.io/en/latest/lightcurves/index.html].
  • a long presentation on periodicity using Lomb-Scargle periodograms should probably be removed for now. It should rather be included as a notebook.
  • the LightCurveEstimator must be presented and its usage described briefly with a reference to the lightcurve.ipynb notebook.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
adonathcommented, Aug 6, 2021

After the generalisation of the FluxPoints class, I think the most useful thing to do here is add FluxPoints.to_table(format="binned-time-series"), such that the following works:

from gammapy.estimators import FluxPoints
from astropy.timeseries import BinnedTimeSeries

fp = FluxPoints.read()
data = fp.to_table(sed_type="flux", format="binned-time-series")
series = BinnedTimeSeries(data=data)

0reactions
adonathcommented, Oct 1, 2020

By now the gammapy.time sub-package was removed. So the remaining documentation is part of the gammapy.estimators (see https://docs.gammapy.org/0.17/estimators/lightcurve.html).

What could be useful is to show how users can convert the light curve into a BinnedTimeSeries object.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developer HOWTO — gammapy v0.6
You can also file and issue or pull request on the Gammapy Github page. Making an account on Github takes only a minute...
Read more >
Gamma Astro Data Specs Documentation
Gamma Astro Data Specs Documentation, Release 0.1 ... The documentation is written in restructured text (RST) and ... in gammapy.time.
Read more >
Gammapy recipes
Gammapy documentation. In this webpage you may find a collection of user contributed Jupyter notebooks. These cover a wide variety of specific use...
Read more >
The Galaxy beyond TeV energies with H.E.S.S. and CTA
Keywords : gamma rays, cosmic rays, gammapy, H.E.S.S., CTA, ... cosmic ray flux is anti-correlated in time with the intensity of the Sun's ......
Read more >
Tutorial about statistical methods - Jupyter Notebooks Gallery
The above example shall be modified such that the normalisation of the likelihood function, ... run the MCMC (and time it using IPython's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found