solarc-eclipse 0.8.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 (59) hide show
  1. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/MANIFEST.in +1 -0
  2. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/PKG-INFO +2 -1
  3. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/README.md +1 -0
  4. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/__init__.py +5 -1
  5. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/analysis.py +353 -134
  6. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/config.py +189 -8
  7. solarc_eclipse-0.9.0/euvst_response/data/eis_response/EIS_EffArea_A.004 +61 -0
  8. solarc_eclipse-0.9.0/euvst_response/data/eis_response/EIS_EffArea_B.004 +60 -0
  9. solarc_eclipse-0.9.0/euvst_response/data/eis_response/README_dz2025 +50 -0
  10. solarc_eclipse-0.9.0/euvst_response/data/eis_response/fit_eis_ea_2023-05-04_smooth.sav +0 -0
  11. solarc_eclipse-0.9.0/euvst_response/data/eis_response/source.txt +29 -0
  12. solarc_eclipse-0.9.0/euvst_response/data/science_cases.yaml +365 -0
  13. solarc_eclipse-0.9.0/euvst_response/data/throughput/source.txt +3 -0
  14. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data_processing.py +60 -32
  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.8.0 → solarc_eclipse-0.9.0}/euvst_response/main.py +296 -62
  18. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/monte_carlo.py +76 -46
  19. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/pinhole_diffraction.py +114 -27
  20. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/radiometric.py +161 -65
  21. solarc_eclipse-0.9.0/euvst_response/science_cases.py +358 -0
  22. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/synthesis.py +381 -152
  23. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/utils.py +171 -9
  24. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/pyproject.toml +1 -0
  25. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/setup.py +1 -0
  26. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/PKG-INFO +2 -1
  27. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/SOURCES.txt +24 -1
  28. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/entry_points.txt +1 -0
  29. solarc_eclipse-0.9.0/tests/test_axis_conventions.py +413 -0
  30. solarc_eclipse-0.9.0/tests/test_config_validation.py +335 -0
  31. solarc_eclipse-0.9.0/tests/test_doppler_sign.py +221 -0
  32. solarc_eclipse-0.9.0/tests/test_downsample.py +211 -0
  33. solarc_eclipse-0.9.0/tests/test_eis_effective_area.py +169 -0
  34. solarc_eclipse-0.9.0/tests/test_fit_config.py +151 -0
  35. solarc_eclipse-0.9.0/tests/test_fit_summaries.py +504 -0
  36. solarc_eclipse-0.9.0/tests/test_map_metadata.py +148 -0
  37. solarc_eclipse-0.9.0/tests/test_noise_toggle.py +235 -0
  38. solarc_eclipse-0.9.0/tests/test_pinhole_config.py +182 -0
  39. solarc_eclipse-0.9.0/tests/test_psf_boundary.py +152 -0
  40. solarc_eclipse-0.9.0/tests/test_radiometric_chain.py +453 -0
  41. solarc_eclipse-0.9.0/tests/test_science_cases.py +237 -0
  42. solarc_eclipse-0.9.0/tests/test_synthesis_grids.py +169 -0
  43. solarc_eclipse-0.8.0/euvst_response/fitting.py +0 -639
  44. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/LICENSE +0 -0
  45. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/cli.py +0 -0
  46. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/grating_reflection_efficiency.dat +0 -0
  47. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/primary_mirror_coating_reflectance.dat +0 -0
  48. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_aluminium_1000_angstrom.dat +0 -0
  49. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_aluminium_oxide_1000_angstrom.dat +0 -0
  50. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_carbon_1000_angstrom.dat +0 -0
  51. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/extern/__init__.py +0 -0
  52. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/extern/mpfit.py +0 -0
  53. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/psf.py +0 -0
  54. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/synthesis_cli.py +0 -0
  55. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/setup.cfg +0 -0
  56. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/dependency_links.txt +0 -0
  57. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/not-zip-safe +0 -0
  58. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/requires.txt +0 -0
  59. {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/top_level.txt +0 -0
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: solarc-eclipse
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Summary: ECLIPSE: Emission Calculation and Line Prediction for SOLAR-C EUVST
5
5
  Home-page: https://github.com/jamesmckevitt/eclipse
6
6
  Author: James McKevitt
@@ -64,6 +64,7 @@ Contact: James McKevitt (jm2@mssl.ucl.ac.uk). See [LICENSE](LICENSE) for usage t
64
64
 
65
65
  The instrument response generated by this code will be updated during instrument development, testing, and commissioning.
66
66
 
67
+ [![Tests](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml/badge.svg)](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml)
67
68
  [![Documentation Status](https://readthedocs.org/projects/solarc-eclipse/badge/?version=latest)](https://solarc-eclipse.readthedocs.io/en/latest/)
68
69
  [![PyPI](https://img.shields.io/pypi/v/solarc-eclipse.svg)](https://pypi.org/project/solarc-eclipse/)
69
70
  [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.17543844-blue.svg)](https://doi.org/10.5281/zenodo.17543844)
@@ -6,6 +6,7 @@ Contact: James McKevitt (jm2@mssl.ucl.ac.uk). See [LICENSE](LICENSE) for usage t
6
6
 
7
7
  The instrument response generated by this code will be updated during instrument development, testing, and commissioning.
8
8
 
9
+ [![Tests](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml/badge.svg)](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml)
9
10
  [![Documentation Status](https://readthedocs.org/projects/solarc-eclipse/badge/?version=latest)](https://solarc-eclipse.readthedocs.io/en/latest/)
10
11
  [![PyPI](https://img.shields.io/pypi/v/solarc-eclipse.svg)](https://pypi.org/project/solarc-eclipse/)
11
12
  [![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.17543844-blue.svg)](https://doi.org/10.5281/zenodo.17543844)
@@ -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.8.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",