serpentine-h2020 / SEPpy

A compendium of Python data loaders and analysis tools for in-situ measurements of Solar Energetic Particles (SEP)
BSD 3-Clause "New" or "Revised" License
7 stars 6 forks source link

Let print_energies() display a pd.DataFrame #4

Closed jgieseler closed 2 years ago

jgieseler commented 2 years ago

Right now, Event.print_energies() just makes a print of the corresponding energy channels:

image

If it showed a Pandas DataFrame that would be nicer displayed in a Jupyter Notebook, for example like this:

image

https://github.com/serpentine-h2020/SEPpy/blob/9af385d09da291bf338958420cd0af01883a7556/seppy/tools/__init__.py#L1884-L1921

jgieseler commented 2 years ago

Fixed with https://github.com/serpentine-h2020/SEPpy/pull/7

jgieseler commented 1 year ago

Released in version 0.1.4 (PyPI)