seppy 0.2.0__tar.gz → 0.2.1__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.
Potentially problematic release.
This version of seppy might be problematic. Click here for more details.
- {seppy-0.2.0 → seppy-0.2.1}/PKG-INFO +1 -1
- {seppy-0.2.0 → seppy-0.2.1}/seppy/_version.py +2 -2
- {seppy-0.2.0 → seppy-0.2.1}/seppy/loader/psp.py +2 -2
- {seppy-0.2.0 → seppy-0.2.1}/seppy/util/__init__.py +12 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/version.py +1 -1
- {seppy-0.2.0 → seppy-0.2.1}/seppy.egg-info/PKG-INFO +1 -1
- {seppy-0.2.0 → seppy-0.2.1}/.github/dependabot.yml +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/.github/release.yml +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/.github/workflows/pytest.yml +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/.gitignore +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/.zenodo.json +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/LICENSE.rst +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/MANIFEST.in +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/README.rst +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/docs/Makefile +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/docs/conf.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/docs/index.rst +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/docs/make.bat +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/licenses/LICENSE.rst +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/licenses/SUNPY_LICENSE.rst +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/licenses/TEMPLATE_LICENSE.rst +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/pyproject.toml +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/__init__.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/20230719_side0.csv +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/20230719_side1.csv +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/20230719_side2.csv +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/epi21106.rl2 +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/sept_ahead_ele_sun_2006_318_1min_l2_v03.dat +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/soho_erne-hed_l2-1min_20211028_v01.cdf +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/solo_l2_mag-rtn-normal-1-minute_20210712_v01.cdf +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/sta_l1_het_20211028_v01.cdf +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/wi_sfsp_3dp_00000000_v01.cdf +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/wi_sfsp_3dp_20200213_v01.cdf +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/loader/soho.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/loader/solo.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/loader/stereo.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/loader/wind.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tests/__init__.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tests/test_loader.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tests/test_time_shift_analysis.ipynb +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tests/test_tools.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tests/tsa_org.png +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tools/__init__.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tools/swaves.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy/tools/widgets.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy.egg-info/SOURCES.txt +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy.egg-info/dependency_links.txt +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy.egg-info/not-zip-safe +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy.egg-info/requires.txt +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/seppy.egg-info/top_level.txt +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/setup.cfg +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/setup.py +0 -0
- {seppy-0.2.0 → seppy-0.2.1}/tox.ini +0 -0
|
@@ -199,8 +199,8 @@ def psp_isois_load(dataset, startdate, enddate, epilo_channel='F', epilo_thresho
|
|
|
199
199
|
Name of PSP dataset:
|
|
200
200
|
- 'PSP_ISOIS-EPIHI_L2-HET-RATES60'
|
|
201
201
|
- 'PSP_ISOIS-EPIHI_L2-HET-RATES3600' (higher coverage than 'RATES60' before mid-2021)
|
|
202
|
-
- 'PSP_ISOIS-EPIHI_L2-LET1-RATES60'
|
|
203
|
-
- 'PSP_ISOIS-EPIHI_L2-LET2-RATES60'
|
|
202
|
+
- 'PSP_ISOIS-EPIHI_L2-LET1-RATES60'
|
|
203
|
+
- 'PSP_ISOIS-EPIHI_L2-LET2-RATES60'
|
|
204
204
|
- 'PSP_ISOIS-EPILO_L2-PE'
|
|
205
205
|
- 'PSP_ISOIS-EPILO_L2-IC'
|
|
206
206
|
startdate, enddate : {datetime or str}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import datetime
|
|
3
|
+
import psutil
|
|
3
4
|
import warnings
|
|
4
5
|
|
|
5
6
|
import astropy.constants as const
|
|
@@ -429,3 +430,14 @@ def intensity2vsd(species, kinetic_energy, intensity):
|
|
|
429
430
|
p = energy2momentum(species, kinetic_energy)
|
|
430
431
|
f = intensity / (p**2) * mass_dict[species]**3
|
|
431
432
|
return f.to(u.s**3/(u.sr*u.cm**6))
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
def jupyterhub_data_path(path_org, path_hub='/home/jovyan/data'):
|
|
436
|
+
"""
|
|
437
|
+
Checks if Notebook is run within SOLER/SERPENTINE JupyterHub. Returns the path of a common data folder if yes, and the original path if not.
|
|
438
|
+
"""
|
|
439
|
+
if (psutil.Process().parent().name() == 'jupyterhub-sing') and all(x in psutil.Process().parent().environ()['PYTHONPATH'] for x in ['/home/jovyan/serpentine/', '/home/jovyan/soler/sep_tools/']):
|
|
440
|
+
print(f"JupyterHub detected. Adjusting data path to {path_hub}")
|
|
441
|
+
return path_hub
|
|
442
|
+
else:
|
|
443
|
+
return path_org
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{seppy-0.2.0 → seppy-0.2.1}/seppy/data/test/solo_l2_mag-rtn-normal-1-minute_20210712_v01.cdf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|