solarc-eclipse 0.7.0__tar.gz → 0.9.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 (63) hide show
  1. solarc_eclipse-0.9.0/LICENSE +5 -0
  2. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/MANIFEST.in +1 -0
  3. solarc_eclipse-0.9.0/PKG-INFO +76 -0
  4. solarc_eclipse-0.9.0/README.md +18 -0
  5. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/__init__.py +5 -1
  6. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/analysis.py +353 -134
  7. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/config.py +189 -8
  8. solarc_eclipse-0.9.0/euvst_response/data/eis_response/EIS_EffArea_A.004 +61 -0
  9. solarc_eclipse-0.9.0/euvst_response/data/eis_response/EIS_EffArea_B.004 +60 -0
  10. solarc_eclipse-0.9.0/euvst_response/data/eis_response/README_dz2025 +50 -0
  11. solarc_eclipse-0.9.0/euvst_response/data/eis_response/fit_eis_ea_2023-05-04_smooth.sav +0 -0
  12. solarc_eclipse-0.9.0/euvst_response/data/eis_response/source.txt +29 -0
  13. solarc_eclipse-0.9.0/euvst_response/data/science_cases.yaml +365 -0
  14. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data_processing.py +95 -34
  15. solarc_eclipse-0.9.0/euvst_response/eis_calibration.py +398 -0
  16. solarc_eclipse-0.9.0/euvst_response/fitting.py +1169 -0
  17. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/main.py +307 -67
  18. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/monte_carlo.py +138 -57
  19. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/pinhole_diffraction.py +114 -27
  20. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/radiometric.py +271 -84
  21. solarc_eclipse-0.9.0/euvst_response/science_cases.py +358 -0
  22. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/synthesis.py +381 -152
  23. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/utils.py +176 -9
  24. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/pyproject.toml +13 -1
  25. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/setup.py +1 -0
  26. solarc_eclipse-0.9.0/solarc_eclipse.egg-info/PKG-INFO +76 -0
  27. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/SOURCES.txt +23 -1
  28. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/entry_points.txt +1 -0
  29. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/requires.txt +6 -0
  30. solarc_eclipse-0.9.0/tests/test_axis_conventions.py +413 -0
  31. solarc_eclipse-0.9.0/tests/test_config_validation.py +335 -0
  32. solarc_eclipse-0.9.0/tests/test_doppler_sign.py +221 -0
  33. solarc_eclipse-0.9.0/tests/test_downsample.py +211 -0
  34. solarc_eclipse-0.9.0/tests/test_eis_effective_area.py +169 -0
  35. solarc_eclipse-0.9.0/tests/test_fit_config.py +151 -0
  36. solarc_eclipse-0.9.0/tests/test_fit_summaries.py +504 -0
  37. solarc_eclipse-0.9.0/tests/test_map_metadata.py +148 -0
  38. solarc_eclipse-0.9.0/tests/test_noise_toggle.py +235 -0
  39. solarc_eclipse-0.9.0/tests/test_pinhole_config.py +182 -0
  40. solarc_eclipse-0.9.0/tests/test_psf_boundary.py +152 -0
  41. solarc_eclipse-0.9.0/tests/test_radiometric_chain.py +453 -0
  42. solarc_eclipse-0.9.0/tests/test_science_cases.py +237 -0
  43. solarc_eclipse-0.9.0/tests/test_synthesis_grids.py +169 -0
  44. solarc_eclipse-0.7.0/LICENSE +0 -1
  45. solarc_eclipse-0.7.0/PKG-INFO +0 -443
  46. solarc_eclipse-0.7.0/README.md +0 -395
  47. solarc_eclipse-0.7.0/euvst_response/fitting.py +0 -639
  48. solarc_eclipse-0.7.0/solarc_eclipse.egg-info/PKG-INFO +0 -443
  49. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/cli.py +0 -0
  50. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/grating_reflection_efficiency.dat +0 -0
  51. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/primary_mirror_coating_reflectance.dat +0 -0
  52. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/source.txt +0 -0
  53. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_aluminium_1000_angstrom.dat +0 -0
  54. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_aluminium_oxide_1000_angstrom.dat +0 -0
  55. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_carbon_1000_angstrom.dat +0 -0
  56. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/extern/__init__.py +0 -0
  57. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/extern/mpfit.py +0 -0
  58. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/psf.py +0 -0
  59. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/euvst_response/synthesis_cli.py +0 -0
  60. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/setup.cfg +0 -0
  61. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/dependency_links.txt +0 -0
  62. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/not-zip-safe +0 -0
  63. {solarc_eclipse-0.7.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/top_level.txt +0 -0
@@ -0,0 +1,5 @@
1
+ Copyright (c) James McKevitt
2
+
3
+ Publishing any results produced by this software, or any work derived from it, requires permission from the author. Contact James McKevitt (jm2@mssl.ucl.ac.uk) before publication.
4
+
5
+ The SOLAR-C SWG are also required to approve the publication of forward modelling results for SOLAR-C/EUVST. Contact James McKevitt (jm2@mssl.ucl.ac.uk) for more information.
@@ -2,6 +2,7 @@ include README.md
2
2
  include LICENSE
3
3
  include pyproject.toml
4
4
  recursive-include euvst_response *.py
5
+ recursive-include euvst_response/data *
5
6
  recursive-include data *
6
7
  recursive-exclude data/atmosphere *
7
8
  exclude data/gofnt.sav
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: solarc-eclipse
3
+ Version: 0.9.0
4
+ Summary: ECLIPSE: Emission Calculation and Line Prediction for SOLAR-C EUVST
5
+ Home-page: https://github.com/jamesmckevitt/eclipse
6
+ Author: James McKevitt
7
+ Author-email: James McKevitt <jm2@mssl.ucl.ac.uk>
8
+ License: Copyright (c) James McKevitt
9
+
10
+ Publishing any results produced by this software, or any work derived from it, requires permission from the author. Contact James McKevitt (jm2@mssl.ucl.ac.uk) before publication.
11
+
12
+ The SOLAR-C SWG are also required to approve the publication of forward modelling results for SOLAR-C/EUVST. Contact James McKevitt (jm2@mssl.ucl.ac.uk) for more information.
13
+ Project-URL: Homepage, https://github.com/jamesmckevitt/eclipse
14
+ Project-URL: Repository, https://github.com/jamesmckevitt/eclipse
15
+ Project-URL: Documentation, https://solarc-eclipse.readthedocs.io
16
+ Classifier: Development Status :: 4 - Beta
17
+ Classifier: Intended Audience :: Science/Research
18
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: numpy
26
+ Requires-Dist: astropy
27
+ Requires-Dist: ndcube
28
+ Requires-Dist: specutils
29
+ Requires-Dist: scipy
30
+ Requires-Dist: matplotlib
31
+ Requires-Dist: joblib
32
+ Requires-Dist: tqdm
33
+ Requires-Dist: dill
34
+ Requires-Dist: pyyaml
35
+ Requires-Dist: reproject
36
+ Requires-Dist: sunpy[all]
37
+ Requires-Dist: dask
38
+ Requires-Dist: psutil
39
+ Requires-Dist: mendeleev
40
+ Requires-Dist: h5py
41
+ Requires-Dist: fiasco
42
+ Provides-Extra: mpi
43
+ Requires-Dist: mpi4py; extra == "mpi"
44
+ Provides-Extra: dev
45
+ Requires-Dist: pytest; extra == "dev"
46
+ Requires-Dist: black; extra == "dev"
47
+ Requires-Dist: flake8; extra == "dev"
48
+ Requires-Dist: mypy; extra == "dev"
49
+ Requires-Dist: ipywidgets; extra == "dev"
50
+ Provides-Extra: docs
51
+ Requires-Dist: mkdocs-material; extra == "docs"
52
+ Requires-Dist: mkdocstrings[python]; extra == "docs"
53
+ Requires-Dist: mkdocs-jupyter; extra == "docs"
54
+ Dynamic: author
55
+ Dynamic: home-page
56
+ Dynamic: license-file
57
+ Dynamic: requires-python
58
+
59
+ # ECLIPSE: Emission Calculation and Line Prediction for SOLAR-C EUVST
60
+
61
+ The ECLIPSE code (Emission Calculation and Line Prediction for SOLAR-C EUVST) is used to forward model the performance of the EUV spectrograph EUVST onboard the SOLAR-C spacecraft.
62
+
63
+ Contact: James McKevitt (jm2@mssl.ucl.ac.uk). See [LICENSE](LICENSE) for usage terms.
64
+
65
+ The instrument response generated by this code will be updated during instrument development, testing, and commissioning.
66
+
67
+ [![Tests](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml/badge.svg)](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml)
68
+ [![Documentation Status](https://readthedocs.org/projects/solarc-eclipse/badge/?version=latest)](https://solarc-eclipse.readthedocs.io/en/latest/)
69
+ [![PyPI](https://img.shields.io/pypi/v/solarc-eclipse.svg)](https://pypi.org/project/solarc-eclipse/)
70
+ [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.17543844-blue.svg)](https://doi.org/10.5281/zenodo.17543844)
71
+
72
+ Full documentation - installation, quick start, the synthesis and instrument response guides, and the analysis tutorial - is at **[solarc-eclipse.readthedocs.io](https://solarc-eclipse.readthedocs.io)**.
73
+
74
+ ## Acknowledgements
75
+
76
+ The SOLAR-C/EUVST-SW instrument is an ESA-funded contribution to the JAXA-led SOLAR-C mission. The EUVST-LW (long wavelength) instrument is contributed by NASA. The ECLIPSE code is developed and maintained at Mullard Space Science Laboratory (UCL), and was made using Austrian Super Computing (ASC) infrastructure in collaboration with the University of Vienna.
@@ -0,0 +1,18 @@
1
+ # ECLIPSE: Emission Calculation and Line Prediction for SOLAR-C EUVST
2
+
3
+ The ECLIPSE code (Emission Calculation and Line Prediction for SOLAR-C EUVST) is used to forward model the performance of the EUV spectrograph EUVST onboard the SOLAR-C spacecraft.
4
+
5
+ Contact: James McKevitt (jm2@mssl.ucl.ac.uk). See [LICENSE](LICENSE) for usage terms.
6
+
7
+ The instrument response generated by this code will be updated during instrument development, testing, and commissioning.
8
+
9
+ [![Tests](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml/badge.svg)](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml)
10
+ [![Documentation Status](https://readthedocs.org/projects/solarc-eclipse/badge/?version=latest)](https://solarc-eclipse.readthedocs.io/en/latest/)
11
+ [![PyPI](https://img.shields.io/pypi/v/solarc-eclipse.svg)](https://pypi.org/project/solarc-eclipse/)
12
+ [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.17543844-blue.svg)](https://doi.org/10.5281/zenodo.17543844)
13
+
14
+ Full documentation - installation, quick start, the synthesis and instrument response guides, and the analysis tutorial - is at **[solarc-eclipse.readthedocs.io](https://solarc-eclipse.readthedocs.io)**.
15
+
16
+ ## Acknowledgements
17
+
18
+ The SOLAR-C/EUVST-SW instrument is an ESA-funded contribution to the JAXA-led SOLAR-C mission. The EUVST-LW (long wavelength) instrument is contributed by NASA. The ECLIPSE code is developed and maintained at Mullard Space Science Laboratory (UCL), and was made using Austrian Super Computing (ASC) infrastructure in collaboration with the University of Vienna.
@@ -4,12 +4,13 @@ ECLIPSE: Emission Calculation and Line Prediction for SOLAR-C EUVST
4
4
  This package provides tools for modeling the performance of the EUV spectrograph EUVST, on SOLAR-C.
5
5
  """
6
6
 
7
- __version__ = "0.7.0"
7
+ __version__ = "0.9.0"
8
8
  __author__ = "James McKevitt"
9
9
  __email__ = "jm2@mssl.ucl.ac.uk"
10
10
 
11
11
  # Import main classes and functions for easy access
12
12
  from .config import Detector_SWC, Detector_EIS, Telescope_EUVST, Telescope_EIS, Simulation, AluminiumFilter
13
+ from .eis_calibration import effective_area as eis_effective_area
13
14
  from .utils import wl_to_vel, vel_to_wl, angle_to_distance, distance_to_angle
14
15
  from .radiometric import (
15
16
  intensity_to_photons, add_telescope_throughput, photons_to_pixel_counts,
@@ -25,6 +26,7 @@ from .analysis import (
25
26
  load_instrument_response_results,
26
27
  get_parameter_combinations,
27
28
  analyse_fit_statistics,
29
+ list_fit_components,
28
30
  get_results_for_combination,
29
31
  summary_table,
30
32
  create_sunpy_maps_from_combo,
@@ -34,6 +36,7 @@ from .analysis import (
34
36
  __all__ = [
35
37
  "Detector_SWC", "Detector_EIS", "Telescope_EUVST", "Telescope_EIS",
36
38
  "Simulation", "AluminiumFilter",
39
+ "eis_effective_area",
37
40
  "wl_to_vel", "vel_to_wl", "angle_to_distance", "distance_to_angle",
38
41
  "intensity_to_photons", "add_telescope_throughput", "photons_to_pixel_counts",
39
42
  "apply_exposure", "sample_photon_arrivals", "add_poisson", "apply_focusing_optics_psf", "to_electrons",
@@ -47,6 +50,7 @@ __all__ = [
47
50
  "load_instrument_response_results",
48
51
  "get_parameter_combinations",
49
52
  "analyse_fit_statistics",
53
+ "list_fit_components",
50
54
  "get_results_for_combination",
51
55
  "summary_table",
52
56
  "create_sunpy_maps_from_combo",