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.
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/MANIFEST.in +1 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/PKG-INFO +2 -1
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/README.md +1 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/__init__.py +5 -1
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/analysis.py +353 -134
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/config.py +189 -8
- solarc_eclipse-0.9.0/euvst_response/data/eis_response/EIS_EffArea_A.004 +61 -0
- solarc_eclipse-0.9.0/euvst_response/data/eis_response/EIS_EffArea_B.004 +60 -0
- solarc_eclipse-0.9.0/euvst_response/data/eis_response/README_dz2025 +50 -0
- solarc_eclipse-0.9.0/euvst_response/data/eis_response/fit_eis_ea_2023-05-04_smooth.sav +0 -0
- solarc_eclipse-0.9.0/euvst_response/data/eis_response/source.txt +29 -0
- solarc_eclipse-0.9.0/euvst_response/data/science_cases.yaml +365 -0
- solarc_eclipse-0.9.0/euvst_response/data/throughput/source.txt +3 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data_processing.py +60 -32
- solarc_eclipse-0.9.0/euvst_response/eis_calibration.py +398 -0
- solarc_eclipse-0.9.0/euvst_response/fitting.py +1169 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/main.py +296 -62
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/monte_carlo.py +76 -46
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/pinhole_diffraction.py +114 -27
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/radiometric.py +161 -65
- solarc_eclipse-0.9.0/euvst_response/science_cases.py +358 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/synthesis.py +381 -152
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/utils.py +171 -9
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/pyproject.toml +1 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/setup.py +1 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/PKG-INFO +2 -1
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/SOURCES.txt +24 -1
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/entry_points.txt +1 -0
- solarc_eclipse-0.9.0/tests/test_axis_conventions.py +413 -0
- solarc_eclipse-0.9.0/tests/test_config_validation.py +335 -0
- solarc_eclipse-0.9.0/tests/test_doppler_sign.py +221 -0
- solarc_eclipse-0.9.0/tests/test_downsample.py +211 -0
- solarc_eclipse-0.9.0/tests/test_eis_effective_area.py +169 -0
- solarc_eclipse-0.9.0/tests/test_fit_config.py +151 -0
- solarc_eclipse-0.9.0/tests/test_fit_summaries.py +504 -0
- solarc_eclipse-0.9.0/tests/test_map_metadata.py +148 -0
- solarc_eclipse-0.9.0/tests/test_noise_toggle.py +235 -0
- solarc_eclipse-0.9.0/tests/test_pinhole_config.py +182 -0
- solarc_eclipse-0.9.0/tests/test_psf_boundary.py +152 -0
- solarc_eclipse-0.9.0/tests/test_radiometric_chain.py +453 -0
- solarc_eclipse-0.9.0/tests/test_science_cases.py +237 -0
- solarc_eclipse-0.9.0/tests/test_synthesis_grids.py +169 -0
- solarc_eclipse-0.8.0/euvst_response/fitting.py +0 -639
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/LICENSE +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/cli.py +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/grating_reflection_efficiency.dat +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/primary_mirror_coating_reflectance.dat +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_aluminium_1000_angstrom.dat +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_aluminium_oxide_1000_angstrom.dat +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/data/throughput/throughput_carbon_1000_angstrom.dat +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/extern/__init__.py +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/extern/mpfit.py +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/psf.py +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/euvst_response/synthesis_cli.py +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/setup.cfg +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/dependency_links.txt +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/not-zip-safe +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/requires.txt +0 -0
- {solarc_eclipse-0.8.0 → solarc_eclipse-0.9.0}/solarc_eclipse.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: solarc-eclipse
|
|
3
|
-
Version: 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
|
+
[](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml)
|
|
67
68
|
[](https://solarc-eclipse.readthedocs.io/en/latest/)
|
|
68
69
|
[](https://pypi.org/project/solarc-eclipse/)
|
|
69
70
|
[](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
|
+
[](https://github.com/jamesmckevitt/eclipse/actions/workflows/tests.yml)
|
|
9
10
|
[](https://solarc-eclipse.readthedocs.io/en/latest/)
|
|
10
11
|
[](https://pypi.org/project/solarc-eclipse/)
|
|
11
12
|
[](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.
|
|
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",
|