seppy 0.1.4__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. seppy-0.4.0/.github/dependabot.yml +11 -0
  2. seppy-0.4.0/.github/release.yml +10 -0
  3. seppy-0.4.0/.github/workflows/pytest.yml +45 -0
  4. seppy-0.4.0/.gitignore +141 -0
  5. seppy-0.4.0/.readthedocs.yaml +32 -0
  6. seppy-0.4.0/.zenodo.json +53 -0
  7. seppy-0.4.0/CITATION.cff +81 -0
  8. seppy-0.4.0/MANIFEST.in +11 -0
  9. seppy-0.4.0/PKG-INFO +121 -0
  10. {seppy-0.1.4 → seppy-0.4.0}/README.rst +29 -19
  11. seppy-0.4.0/docs/api.rst +87 -0
  12. seppy-0.4.0/docs/conf.py +51 -0
  13. seppy-0.4.0/docs/index.rst +32 -0
  14. seppy-0.4.0/docs/installation.rst +11 -0
  15. {seppy-0.1.4 → seppy-0.4.0}/docs/make.bat +35 -35
  16. seppy-0.4.0/docs/requirements.txt +9 -0
  17. seppy-0.4.0/docs/usage.rst +21 -0
  18. seppy-0.4.0/licenses/SUNPY_LICENSE.rst +25 -0
  19. seppy-0.4.0/pyproject.toml +139 -0
  20. seppy-0.4.0/seppy/__init__.py +4 -0
  21. seppy-0.4.0/seppy/_version.py +34 -0
  22. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side0_e_gf_en.csv +7 -0
  23. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side0_p_gf_en.csv +7 -0
  24. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side0_pe_gf_en.csv +7 -0
  25. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side1_e_gf_en.csv +7 -0
  26. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side1_p_gf_en.csv +7 -0
  27. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side1_pe_gf_en.csv +7 -0
  28. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side2_e_gf_en.csv +7 -0
  29. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side2_p_gf_en.csv +7 -0
  30. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side2_pe_gf_en.csv +7 -0
  31. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side3_e_gf_en.csv +7 -0
  32. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side3_p_gf_en.csv +7 -0
  33. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side3_pe_gf_en.csv +7 -0
  34. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side4_e_gf_en.csv +7 -0
  35. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side4_p_gf_en.csv +7 -0
  36. seppy-0.4.0/seppy/data/bepi_sixsp_instrumental_constants/sixsp_side4_pe_gf_en.csv +7 -0
  37. seppy-0.4.0/seppy/data/test/20230719_side0.csv +402 -0
  38. seppy-0.4.0/seppy/data/test/20230719_side1.csv +402 -0
  39. seppy-0.4.0/seppy/data/test/20230719_side2.csv +402 -0
  40. seppy-0.4.0/seppy/data/test/epi21106.rl2 +701 -0
  41. seppy-0.4.0/seppy/data/test/sept_ahead_ele_sun_2006_318_1min_l2_v03.dat +427 -0
  42. seppy-0.4.0/seppy/data/test/soho_erne-hed_l2-1min_20211028_v01.cdf +0 -0
  43. seppy-0.4.0/seppy/data/test/solo_l2_mag-rtn-normal-1-minute_20210712_v01.cdf +0 -0
  44. seppy-0.4.0/seppy/data/test/sta_l1_het_20211028_v01.cdf +0 -0
  45. seppy-0.4.0/seppy/data/test/wi_sfsp_3dp_00000000_v01.cdf +0 -0
  46. seppy-0.4.0/seppy/data/test/wi_sfsp_3dp_20200213_v01.cdf +0 -0
  47. seppy-0.4.0/seppy/loader/__init__.py +3 -0
  48. seppy-0.4.0/seppy/loader/bepi.py +165 -0
  49. seppy-0.4.0/seppy/loader/juice.py +183 -0
  50. seppy-0.4.0/seppy/loader/psp.py +703 -0
  51. {seppy-0.1.4 → seppy-0.4.0}/seppy/loader/soho.py +94 -70
  52. {seppy-0.1.4 → seppy-0.4.0}/seppy/loader/stereo.py +116 -73
  53. {seppy-0.1.4 → seppy-0.4.0}/seppy/loader/wind.py +208 -218
  54. seppy-0.4.0/seppy/tests/__init__.py +3 -0
  55. seppy-0.4.0/seppy/tests/baseline/test_onset_Bepi_SIXS_offline.png +0 -0
  56. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_PSP_ISOIS_EPIHI_online.png +0 -0
  57. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_PSP_ISOIS_EPILO_e_online.png +0 -0
  58. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_SOHO_EPHIN_online.png +0 -0
  59. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_SOHO_ERNE_online.png +0 -0
  60. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_SOLO_EPT_online.png +0 -0
  61. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_SOLO_HET_online.png +0 -0
  62. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_SOLO_STEP_ions_new_data_online.png +0 -0
  63. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_SOLO_STEP_ions_old_data_online.png +0 -0
  64. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_STEREOA_SEPT_e_online.png +0 -0
  65. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_STEREOA_SEPT_p_online.png +0 -0
  66. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_STEREOB_HET_e_online.png +0 -0
  67. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_STEREOB_HET_p_online.png +0 -0
  68. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_Wind_3DP_e_online.png +0 -0
  69. seppy-0.4.0/seppy/tests/baseline/test_onset_spectrum_tsa_Wind_3DP_p_online.png +0 -0
  70. seppy-0.4.0/seppy/tests/baseline/test_onset_tsa_SOHO_ERNE_offline.png +0 -0
  71. seppy-0.4.0/seppy/tests/test_loader.py +239 -0
  72. seppy-0.4.0/seppy/tests/test_time_shift_analysis.ipynb +288 -0
  73. seppy-0.4.0/seppy/tests/test_tools.py +613 -0
  74. seppy-0.4.0/seppy/tests/tsa_org.png +0 -0
  75. {seppy-0.1.4 → seppy-0.4.0}/seppy/tools/__init__.py +2742 -2479
  76. {seppy-0.1.4 → seppy-0.4.0}/seppy/tools/widgets.py +14 -14
  77. seppy-0.4.0/seppy/tools/widgets_dynspec.py +229 -0
  78. seppy-0.4.0/seppy/tools/widgets_onset.py +229 -0
  79. seppy-0.4.0/seppy/tools/widgets_tsa.py +229 -0
  80. seppy-0.4.0/seppy/util/__init__.py +534 -0
  81. seppy-0.4.0/seppy/version.py +17 -0
  82. seppy-0.4.0/seppy.egg-info/PKG-INFO +121 -0
  83. seppy-0.4.0/seppy.egg-info/SOURCES.txt +94 -0
  84. {seppy-0.1.4 → seppy-0.4.0}/seppy.egg-info/requires.txt +7 -8
  85. seppy-0.4.0/setup.cfg +4 -0
  86. seppy-0.4.0/setup.py +4 -0
  87. seppy-0.4.0/tox.ini +67 -0
  88. seppy-0.1.4/MANIFEST.in +0 -18
  89. seppy-0.1.4/PKG-INFO +0 -89
  90. seppy-0.1.4/docs/conf.py +0 -68
  91. seppy-0.1.4/docs/index.rst +0 -21
  92. seppy-0.1.4/pyproject.toml +0 -7
  93. seppy-0.1.4/requirements.txt +0 -14
  94. seppy-0.1.4/seppy/__init__.py +0 -7
  95. seppy-0.1.4/seppy/loader/psp.py +0 -503
  96. seppy-0.1.4/seppy/tests/__init__.py +0 -4
  97. seppy-0.1.4/seppy/version.py +0 -8
  98. seppy-0.1.4/seppy.egg-info/PKG-INFO +0 -89
  99. seppy-0.1.4/seppy.egg-info/SOURCES.txt +0 -31
  100. seppy-0.1.4/setup.cfg +0 -98
  101. seppy-0.1.4/setup.py +0 -24
  102. seppy-0.1.4/tox.ini +0 -45
  103. {seppy-0.1.4 → seppy-0.4.0}/LICENSE.rst +0 -0
  104. {seppy-0.1.4 → seppy-0.4.0}/docs/Makefile +0 -0
  105. {seppy-0.1.4 → seppy-0.4.0}/licenses/LICENSE.rst +0 -0
  106. {seppy-0.1.4 → seppy-0.4.0}/licenses/TEMPLATE_LICENSE.rst +0 -0
  107. {seppy-0.1.4 → seppy-0.4.0}/seppy/loader/solo.py +0 -0
  108. {seppy-0.1.4 → seppy-0.4.0}/seppy/tools/swaves.py +0 -0
  109. {seppy-0.1.4 → seppy-0.4.0}/seppy.egg-info/dependency_links.txt +0 -0
  110. {seppy-0.1.4 → seppy-0.4.0}/seppy.egg-info/not-zip-safe +0 -0
  111. {seppy-0.1.4 → seppy-0.4.0}/seppy.egg-info/top_level.txt +0 -0
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "github-actions" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "monthly"
@@ -0,0 +1,10 @@
1
+ # .github/release.yml
2
+
3
+ changelog:
4
+ categories:
5
+ - title: Bugfixes 🛠
6
+ labels:
7
+ - bug
8
+ - title: New Features 🎉
9
+ labels:
10
+ - enhancement
@@ -0,0 +1,45 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name: pytest
5
+
6
+ on:
7
+ push:
8
+ # branches: [ "main" ]
9
+ pull_request:
10
+ # branches: [ "main" ]
11
+
12
+ jobs:
13
+ build:
14
+
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
20
+
21
+ steps:
22
+ - uses: actions/checkout@v5
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v6
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+ - name: Install dependencies
28
+ run: |
29
+ python -m pip install --upgrade pip
30
+ python -m pip install flake8 nbmake pytest pytest-doctestplus pytest-cov
31
+ # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32
+ pip install .
33
+ - name: Lint with flake8
34
+ run: |
35
+ # stop the build if there are Python syntax errors or undefined names
36
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39
+ - name: Test with pytest
40
+ run: |
41
+ pytest --cov --nbmake .
42
+ - name: Upload coverage reports to Codecov
43
+ uses: codecov/codecov-action@v5
44
+ env:
45
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
seppy-0.4.0/.gitignore ADDED
@@ -0,0 +1,141 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ pip-wheel-metadata/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # file generated by setuptools_scm
31
+ _version.py
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tmp/
46
+ .tox/
47
+ .nox/
48
+ .coverage
49
+ .coverage.*
50
+ .cache
51
+ nosetests.xml
52
+ coverage.xml
53
+ *.cover
54
+ *.py,cover
55
+ .hypothesis/
56
+ .pytest_cache/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ target/
80
+
81
+ # Jupyter Notebook
82
+ .ipynb_checkpoints
83
+
84
+ # IPython
85
+ profile_default/
86
+ ipython_config.py
87
+
88
+ # pyenv
89
+ .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
99
+ __pypackages__/
100
+
101
+ # Celery stuff
102
+ celerybeat-schedule
103
+ celerybeat.pid
104
+
105
+ # SageMath parsed files
106
+ *.sage.py
107
+
108
+ # Environments
109
+ .env
110
+ .venv
111
+ env/
112
+ venv/
113
+ ENV/
114
+ env.bak/
115
+ venv.bak/
116
+
117
+ # Spyder project settings
118
+ .spyderproject
119
+ .spyproject
120
+
121
+ # Rope project settings
122
+ .ropeproject
123
+
124
+ # mkdocs documentation
125
+ /site
126
+
127
+ # mypy
128
+ .mypy_cache/
129
+ .dmypy.json
130
+ dmypy.json
131
+
132
+ # Pyre type checker
133
+ .pyre/
134
+ .vscode/settings.json
135
+
136
+ ### MacOS: https://raw.githubusercontent.com/github/gitignore/master/Global/macOS.gitignore
137
+
138
+ # General
139
+ .DS_Store
140
+ .AppleDouble
141
+ .LSOverride
@@ -0,0 +1,32 @@
1
+ # .readthedocs.yaml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version: 2
7
+
8
+ # Set the OS, Python version and other tools you might need
9
+ build:
10
+ os: ubuntu-22.04
11
+ tools:
12
+ python: "3.11"
13
+ # You can also specify other tool versions:
14
+ # nodejs: "19"
15
+ # rust: "1.64"
16
+ # golang: "1.19"
17
+
18
+ # Build documentation in the "docs/" directory with Sphinx
19
+ sphinx:
20
+ configuration: docs/conf.py
21
+
22
+ # Optionally build your docs in additional formats such as PDF and ePub
23
+ # formats:
24
+ # - pdf
25
+ # - epub
26
+
27
+ # Optional but recommended, declare the Python requirements required
28
+ # to build your documentation
29
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30
+ python:
31
+ install:
32
+ - requirements: docs/requirements.txt
@@ -0,0 +1,53 @@
1
+ {
2
+ "description": "A compendium of Python data loaders and analysis tools for in-situ measurements of Solar Energetic Particles (SEP).",
3
+ "license": "BSD-3-Clause",
4
+ "title": "SEPpy",
5
+ "grants": [
6
+ {
7
+ "id": "10.13039/501100000780::101004159"
8
+ }
9
+ ],
10
+ "upload_type": "software",
11
+ "creators": [
12
+ {
13
+ "name": "Gieseler, Jan",
14
+ "orcid": "0000-0003-1848-7067",
15
+ "affiliation": "University of Turku"
16
+ },
17
+ {
18
+ "name": "Palmroos, Christian",
19
+ "orcid": "0000-0002-7778-5454",
20
+ "affiliation": "University of Turku"
21
+ },
22
+ {
23
+ "name": "Dresing, Nina",
24
+ "orcid": "0000-0003-3903-4649",
25
+ "affiliation": "University of Turku"
26
+ },
27
+ {
28
+ "name": "Morosan, Diana",
29
+ "orcid": "0000-0002-8416-1375",
30
+ "affiliation": "University of Turku"
31
+ },
32
+ {
33
+ "name": "Asvestari, Eleanna",
34
+ "orcid": "0000-0002-6998-7224",
35
+ "affiliation": "University of Helsinki"
36
+ },
37
+ {
38
+ "name": "Yli-Laurila, Aleksi",
39
+ "affiliation": "University of Turku"
40
+ },
41
+ {
42
+ "name": "Price, Daniel J.",
43
+ "orcid": "0000-0002-8065-2847",
44
+ "affiliation": "University of Helsinki"
45
+ },
46
+ {
47
+ "name": "Vainio, Rami",
48
+ "orcid": "0000-0002-3298-2067",
49
+ "affiliation": "University of Turku"
50
+ }
51
+ ],
52
+ "access_right": "open"
53
+ }
@@ -0,0 +1,81 @@
1
+ # YAML 1.2
2
+ # Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
3
+ cff-version: 1.0.3
4
+ message: If you use this software, please cite it using these metadata.
5
+ title: SEPpy
6
+ doi: 10.5281/zenodo.15275445
7
+ authors:
8
+ - given-names: Jan
9
+ family-names: Gieseler
10
+ affiliation: University of Turku
11
+ orcid: https://orcid.org/0000-0003-1848-7067
12
+ - given-names: Christian
13
+ family-names: Palmroos
14
+ affiliation: University of Turku
15
+ orcid: https://orcid.org/0000-0002-7778-5454
16
+ - given-names: Nina
17
+ family-names: Dresing
18
+ affiliation: University of Turku
19
+ orcid: https://orcid.org/0000-0003-3903-4649
20
+ - given-names: Diana
21
+ family-names: Morosan
22
+ affiliation: University of Turku
23
+ orcid: https://orcid.org/0000-0002-8416-1375
24
+ - given-names: Eleanna
25
+ family-names: Asvestari
26
+ affiliation: University of Helsinki
27
+ orcid: https://orcid.org/0000-0002-6998-7224
28
+ - given-names: Aleksi
29
+ family-names: Yli-Laurila
30
+ affiliation: University of Turku
31
+ - given-names: Daniel
32
+ family-names: Price
33
+ name-particle: J.
34
+ affiliation: University of Helsinki
35
+ orcid: https://orcid.org/0000-0002-8065-2847
36
+ - given-names: Rami
37
+ family-names: Vainio
38
+ affiliation: University of Turku
39
+ orcid: https://orcid.org/0000-0002-3298-2067
40
+ version: 0.4.0
41
+ date-released: 2025-04-24
42
+ repository-code: https://github.com/serpentine-h2020/SEPpy
43
+ license: BSD-3-Clause
44
+ preferred-citation:
45
+ type: article
46
+ authors:
47
+ - given-names: Christian
48
+ family-names: Palmroos
49
+ orcid: https://orcid.org/0000-0002-7778-5454
50
+ - given-names: Jan
51
+ family-names: Gieseler
52
+ orcid: https://orcid.org/0000-0003-1848-7067
53
+ - given-names: Nina
54
+ family-names: Dresing
55
+ orcid: https://orcid.org/0000-0003-3903-4649
56
+ - given-names: Diana
57
+ family-names: Morosan
58
+ orcid: https://orcid.org/0000-0002-8416-1375
59
+ - given-names: Eleanna
60
+ family-names: Asvestari
61
+ affiliation: University of Helsinki
62
+ orcid: https://orcid.org/0000-0002-6998-7224
63
+ - given-names: Aleksi
64
+ family-names: Yli-Laurila
65
+ affiliation: University of Turku
66
+ - given-names: "Daniel J."
67
+ family-names: Price
68
+ orcid: https://orcid.org/0000-0003-2672-5491
69
+ - given-names: Saku
70
+ family-names: Valkila
71
+ affiliation: University of Turku
72
+ - given-names: Rami
73
+ family-names: Vainio
74
+ orcid: https://orcid.org/0000-0002-3298-2067
75
+ doi: 10.3389/fspas.2022.1073578
76
+ url: http://dx.doi.org/10.3389/fspas.2022.1073578
77
+ journal: Frontiers in Astronomy and Space Sciences
78
+ month: 12
79
+ title: 'Solar Energetic Particle Time Series Analysis with Python'
80
+ volume: 9
81
+ year: 2022
@@ -0,0 +1,11 @@
1
+ # Exclude specific files
2
+ # All files which are tracked by git and not explicitly excluded here are included by setuptools_scm
3
+ # Prune folders
4
+ prune build
5
+ prune docs/_build
6
+ prune docs/api
7
+ global-exclude *.pyc *.o
8
+
9
+ # This subpackage is only used in development checkouts
10
+ # and should not be included in built tarballs
11
+ prune seppy/_dev
seppy-0.4.0/PKG-INFO ADDED
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.4
2
+ Name: seppy
3
+ Version: 0.4.0
4
+ Summary: SEPpy
5
+ Author-email: Jan Gieseler <jan.gieseler@utu.fi>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: repository, https://github.com/serpentine-h2020/SEPpy
8
+ Classifier: Intended Audience :: Science/Research
9
+ Classifier: Natural Language :: English
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Topic :: Scientific/Engineering :: Physics
18
+ Requires-Python: >=3.9
19
+ Description-Content-Type: text/x-rst
20
+ License-File: LICENSE.rst
21
+ Requires-Dist: astropy
22
+ Requires-Dist: astroquery
23
+ Requires-Dist: bs4
24
+ Requires-Dist: cdflib
25
+ Requires-Dist: ipympl
26
+ Requires-Dist: ipywidgets
27
+ Requires-Dist: matplotlib
28
+ Requires-Dist: mpl-animators>=1.0.0
29
+ Requires-Dist: numpy
30
+ Requires-Dist: pandas
31
+ Requires-Dist: pooch
32
+ Requires-Dist: psutil
33
+ Requires-Dist: requests
34
+ Requires-Dist: solo-epd-loader
35
+ Requires-Dist: sunpy[all]>=4.1.0
36
+ Requires-Dist: tqdm
37
+ Provides-Extra: test
38
+ Requires-Dist: pytest; extra == "test"
39
+ Requires-Dist: pytest-doctestplus; extra == "test"
40
+ Requires-Dist: pytest-cov; extra == "test"
41
+ Provides-Extra: docs
42
+ Requires-Dist: sphinx; extra == "docs"
43
+ Requires-Dist: sphinx-automodapi; extra == "docs"
44
+ Dynamic: license-file
45
+
46
+ seppy
47
+ =====
48
+
49
+ |pypi Version| |python version| |pytest| |codecov| |docs| |repostatus| |zenodo doi|
50
+
51
+ .. |pypi Version| image:: https://img.shields.io/pypi/v/seppy?style=flat&logo=pypi
52
+ :target: https://pypi.org/project/seppy/
53
+ .. |python version| image:: https://img.shields.io/pypi/pyversions/seppy?style=flat&logo=python
54
+ .. |zenodo doi| image:: https://zenodo.org/badge/451799504.svg
55
+ :target: https://zenodo.org/badge/latestdoi/451799504
56
+ .. |pytest| image:: https://github.com/serpentine-h2020/SEPpy/actions/workflows/pytest.yml/badge.svg?branch=main
57
+ .. |codecov| image:: https://codecov.io/gh/serpentine-h2020/SEPpy/branch/main/graph/badge.svg?token=FYELM4Y7DF
58
+ :target: https://codecov.io/gh/serpentine-h2020/SEPpy
59
+ .. |docs| image:: https://readthedocs.org/projects/seppy/badge/?version=latest
60
+ :target: https://seppy.readthedocs.io/en/latest/?badge=latest
61
+ .. |repostatus| image:: https://www.repostatus.org/badges/latest/active.svg
62
+ :alt: Project Status: Active – The project has reached a stable, usable state and is being actively developed.
63
+ :target: https://www.repostatus.org/#active
64
+
65
+ *This package is in development status! Intended for internal use only, as the syntax is in a floating state and the documentation is incomplete.*
66
+
67
+ **A compendium of Python data loaders and analysis tools for in-situ measurements of Solar Energetic Particles (SEP)**
68
+
69
+ So far combines loaders for the following instruments into one PyPI package:
70
+
71
+ - BepiColombo: SIXS-P
72
+ - Parker Solar Probe: ISOIS
73
+ - SOHO: CELIAS, COSTEP-EPHIN, ERNE
74
+ - Solar Orbiter: EPD (STEP, EPT, HET)*, MAG
75
+ - STEREO: HET, LET, SEPT, MAG
76
+ - Wind: 3DP
77
+
78
+ (* Note that `solo-epd-loader <https://github.com/jgieseler/solo-epd-loader>`_ is a `PyPI package itself <https://pypi.org/project/solo-epd-loader/>`_ that just is loaded here for completeness.)
79
+
80
+
81
+ Disclaimer
82
+ ----------
83
+ This software is provided "as is", with no guarantee. It is no official data source, and not officially endorsed by the corresponding instrument teams. **Please always refer to the official data description of each instrument before using the data!**
84
+
85
+ Installation
86
+ ------------
87
+
88
+ seppy requires python >= 3.9.
89
+
90
+ It can be installed from `PyPI <https://pypi.org/project/seppy/>`_ using:
91
+
92
+ .. code:: bash
93
+
94
+ pip install seppy
95
+
96
+
97
+ Usage
98
+ -----
99
+
100
+ The standard usecase is to utilize the ``***_load`` function, which returns Pandas dataframe(s) of the corresponding measurements and a dictionary containing information on the energy channels. For example the SOHO/ERNE data from Apr 16 to Apr 20, 2021, can be obtained as follows:
101
+
102
+ .. code:: python
103
+
104
+ from seppy.loader.soho import soho_load
105
+
106
+ df, meta = soho_load(dataset="SOHO_ERNE-HED_L2-1MIN",
107
+ startdate="2021/04/16",
108
+ enddate="2021/04/20")
109
+
110
+ Note that the syntax is different for each loader! `Please refer to this Notebook for more info and examples for the different data sets! <https://github.com/serpentine-h2020/serpentine/blob/main/notebooks/sep_analysis_tools/data_loader.ipynb>`_
111
+
112
+
113
+
114
+
115
+ Citation
116
+ --------
117
+
118
+ Please cite the following paper if you use **seppy** in your publication:
119
+
120
+ Palmroos, C., Gieseler, J., Dresing, N., Morosan, D.E., Asvestari, E., Yli-Laurila, A., Price, D.J., Valkila, S., Vainio, R. (2022).
121
+ Solar Energetic Particle Time Series Analysis with Python. *Front. Astronomy Space Sci.* 9. `doi:10.3389/fspas.2022.1073578 <https://doi.org/10.3389/fspas.2022.1073578>`_
@@ -1,31 +1,37 @@
1
- SEPpy
1
+ seppy
2
2
  =====
3
3
 
4
- |pypi Version| |python version| |zenodo doi|
4
+ |pypi Version| |python version| |pytest| |codecov| |docs| |repostatus| |zenodo doi|
5
5
 
6
6
  .. |pypi Version| image:: https://img.shields.io/pypi/v/seppy?style=flat&logo=pypi
7
7
  :target: https://pypi.org/project/seppy/
8
8
  .. |python version| image:: https://img.shields.io/pypi/pyversions/seppy?style=flat&logo=python
9
9
  .. |zenodo doi| image:: https://zenodo.org/badge/451799504.svg
10
10
  :target: https://zenodo.org/badge/latestdoi/451799504
11
+ .. |pytest| image:: https://github.com/serpentine-h2020/SEPpy/actions/workflows/pytest.yml/badge.svg?branch=main
12
+ .. |codecov| image:: https://codecov.io/gh/serpentine-h2020/SEPpy/branch/main/graph/badge.svg?token=FYELM4Y7DF
13
+ :target: https://codecov.io/gh/serpentine-h2020/SEPpy
14
+ .. |docs| image:: https://readthedocs.org/projects/seppy/badge/?version=latest
15
+ :target: https://seppy.readthedocs.io/en/latest/?badge=latest
16
+ .. |repostatus| image:: https://www.repostatus.org/badges/latest/active.svg
17
+ :alt: Project Status: Active – The project has reached a stable, usable state and is being actively developed.
18
+ :target: https://www.repostatus.org/#active
11
19
 
12
20
  *This package is in development status! Intended for internal use only, as the syntax is in a floating state and the documentation is incomplete.*
13
21
 
14
22
  **A compendium of Python data loaders and analysis tools for in-situ measurements of Solar Energetic Particles (SEP)**
15
23
 
16
- So far combines the following loaders into one PyPI package:
24
+ So far combines loaders for the following instruments into one PyPI package:
17
25
 
18
- - `psp-isois-loader <https://github.com/jgieseler/psp-isois-loader>`_
19
- - `soho-loader <https://github.com/jgieseler/soho-loader>`_
20
- - `solo-epd-loader <https://github.com/jgieseler/solo-epd-loader>`_ *
21
- - `stereo-loader <https://github.com/jgieseler/stereo-loader>`_
22
- - `wind-3dp-loader <https://github.com/jgieseler/wind-3dp-loader>`_
26
+ - BepiColombo: SIXS-P
27
+ - Parker Solar Probe: ISOIS
28
+ - SOHO: CELIAS, COSTEP-EPHIN, ERNE
29
+ - Solar Orbiter: EPD (STEP, EPT, HET)*, MAG
30
+ - STEREO: HET, LET, SEPT, MAG
31
+ - Wind: 3DP
23
32
 
24
33
  (* Note that `solo-epd-loader <https://github.com/jgieseler/solo-epd-loader>`_ is a `PyPI package itself <https://pypi.org/project/solo-epd-loader/>`_ that just is loaded here for completeness.)
25
34
 
26
- Additional loaders:
27
-
28
- - `solo-mag-loader <https://github.com/jgieseler/solo-mag-loader>`_
29
35
 
30
36
  Disclaimer
31
37
  ----------
@@ -34,7 +40,7 @@ This software is provided "as is", with no guarantee. It is no official data sou
34
40
  Installation
35
41
  ------------
36
42
 
37
- SEPpy requires python >= 3.6.
43
+ seppy requires python >= 3.9.
38
44
 
39
45
  It can be installed from `PyPI <https://pypi.org/project/seppy/>`_ using:
40
46
 
@@ -56,11 +62,15 @@ The standard usecase is to utilize the ``***_load`` function, which returns Pand
56
62
  startdate="2021/04/16",
57
63
  enddate="2021/04/20")
58
64
 
59
- Note that the syntax is different for each loader! Please refer to the independent packages for more details and the correct useage:
65
+ Note that the syntax is different for each loader! `Please refer to this Notebook for more info and examples for the different data sets! <https://github.com/serpentine-h2020/serpentine/blob/main/notebooks/sep_analysis_tools/data_loader.ipynb>`_
66
+
67
+
68
+
69
+
70
+ Citation
71
+ --------
72
+
73
+ Please cite the following paper if you use **seppy** in your publication:
60
74
 
61
- - `psp-isois-loader <https://github.com/jgieseler/psp-isois-loader>`_
62
- - `soho-loader <https://github.com/jgieseler/soho-loader>`_
63
- - `solo-epd-loader <https://github.com/jgieseler/solo-epd-loader>`_
64
- - `solo-mag-loader <https://github.com/jgieseler/solo-mag-loader>`_
65
- - `stereo-loader <https://github.com/jgieseler/stereo-loader>`_
66
- - `wind-3dp-loader <https://github.com/jgieseler/wind-3dp-loader>`_
75
+ Palmroos, C., Gieseler, J., Dresing, N., Morosan, D.E., Asvestari, E., Yli-Laurila, A., Price, D.J., Valkila, S., Vainio, R. (2022).
76
+ Solar Energetic Particle Time Series Analysis with Python. *Front. Astronomy Space Sci.* 9. `doi:10.3389/fspas.2022.1073578 <https://doi.org/10.3389/fspas.2022.1073578>`_
@@ -0,0 +1,87 @@
1
+ #############
2
+ API reference
3
+ #############
4
+
5
+
6
+ ************
7
+ seppy.loader
8
+ ************
9
+
10
+ seppy.loader.bepi
11
+ =================
12
+
13
+ .. automodule:: seppy.loader.bepi
14
+ :members:
15
+ :undoc-members:
16
+ :show-inheritance:
17
+
18
+ seppy.loader.juice
19
+ =================
20
+
21
+ .. automodule:: seppy.loader.juice
22
+ :members:
23
+ :undoc-members:
24
+ :show-inheritance:
25
+
26
+ seppy.loader.psp
27
+ ================
28
+
29
+ .. automodule:: seppy.loader.psp
30
+ :members:
31
+ :undoc-members:
32
+ :show-inheritance:
33
+
34
+ seppy.loader.soho
35
+ =================
36
+
37
+ .. automodule:: seppy.loader.soho
38
+ :members:
39
+ :undoc-members:
40
+ :show-inheritance:
41
+
42
+ seppy.loader.solo
43
+ =================
44
+
45
+ .. automodule:: seppy.loader.solo
46
+ :members:
47
+ :undoc-members:
48
+ :show-inheritance:
49
+
50
+ seppy.loader.stereo
51
+ ===================
52
+
53
+ .. automodule:: seppy.loader.stereo
54
+ :members:
55
+ :undoc-members:
56
+ :show-inheritance:
57
+
58
+ seppy.loader.wind
59
+ =================
60
+
61
+ .. automodule:: seppy.loader.wind
62
+ :members:
63
+ :undoc-members:
64
+ :show-inheritance:
65
+
66
+
67
+ ***********
68
+ seppy.tools
69
+ ***********
70
+
71
+ seppy.tools.Event
72
+ =================
73
+
74
+ .. autoclass:: seppy.tools.Event
75
+ :members:
76
+ :undoc-members:
77
+ :class-doc-from: both
78
+
79
+
80
+ **********
81
+ seppy.util
82
+ **********
83
+
84
+ .. automodule:: seppy.util
85
+ :members:
86
+ :undoc-members:
87
+ :show-inheritance: