eclipse 0.13.0__py3-none-any.whl
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.
- eclipse/__init__.py +95 -0
- eclipse/analysis.py +853 -0
- eclipse/atmosphere.py +859 -0
- eclipse/band.py +477 -0
- eclipse/cli.py +138 -0
- eclipse/config.py +1710 -0
- eclipse/continuum.py +413 -0
- eclipse/data/eis_response/EIS_EffArea_A.004 +61 -0
- eclipse/data/eis_response/EIS_EffArea_B.004 +60 -0
- eclipse/data/eis_response/EIS_EffArea_B.005 +64 -0
- eclipse/data/eis_response/README_dz2025 +50 -0
- eclipse/data/eis_response/fit_eis_ea_2023-05-04_smooth.sav +0 -0
- eclipse/data/eis_response/source.txt +33 -0
- eclipse/data/science_cases.yaml +365 -0
- eclipse/data/throughput/grating_reflection_efficiency.dat +25 -0
- eclipse/data/throughput/primary_mirror_coating_reflectance.dat +25 -0
- eclipse/data/throughput/source.txt +6 -0
- eclipse/data/throughput/throughput_aluminium_1000_angstrom.dat +503 -0
- eclipse/data/throughput/throughput_aluminium_oxide_1000_angstrom.dat +503 -0
- eclipse/data/throughput/throughput_carbon_1000_angstrom.dat +503 -0
- eclipse/data_processing.py +904 -0
- eclipse/deprecated.py +161 -0
- eclipse/eis_calibration.py +573 -0
- eclipse/extern/__init__.py +0 -0
- eclipse/extern/mpfit.py +2388 -0
- eclipse/fitting.py +1734 -0
- eclipse/frame.py +594 -0
- eclipse/full_frame.py +944 -0
- eclipse/main.py +1646 -0
- eclipse/monte_carlo.py +660 -0
- eclipse/pinhole_diffraction.py +409 -0
- eclipse/psf.py +6 -0
- eclipse/radiometric.py +1328 -0
- eclipse/raster.py +869 -0
- eclipse/readout.py +1002 -0
- eclipse/resolution_budget.py +108 -0
- eclipse/results_file.py +1226 -0
- eclipse/sampling.py +351 -0
- eclipse/science_cases.py +364 -0
- eclipse/synthesis.py +2492 -0
- eclipse/synthesis_cli.py +12 -0
- eclipse/synthesis_file.py +882 -0
- eclipse/utils.py +1145 -0
- eclipse-0.13.0.dist-info/METADATA +70 -0
- eclipse-0.13.0.dist-info/RECORD +50 -0
- eclipse-0.13.0.dist-info/WHEEL +5 -0
- eclipse-0.13.0.dist-info/entry_points.txt +7 -0
- eclipse-0.13.0.dist-info/licenses/LICENSE +3 -0
- eclipse-0.13.0.dist-info/top_level.txt +2 -0
- euvst_response/__init__.py +129 -0
eclipse/__init__.py
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"""
|
|
2
|
+
ECLIPSE: Emission Calculation and Line Prediction for SOLAR-C EUVST
|
|
3
|
+
|
|
4
|
+
Tools for modeling the performance of EUVST, the EUV spectrograph on SOLAR-C.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "0.13.0"
|
|
8
|
+
__author__ = "James McKevitt"
|
|
9
|
+
__email__ = "jm2@mssl.ucl.ac.uk"
|
|
10
|
+
|
|
11
|
+
# Import main classes and functions for easy access
|
|
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
|
|
14
|
+
from .utils import wl_to_vel, vel_to_wl, angle_to_distance, distance_to_angle
|
|
15
|
+
from .radiometric import (
|
|
16
|
+
intensity_to_photons, add_telescope_throughput, photons_to_pixel_counts,
|
|
17
|
+
apply_exposure, sample_photon_arrivals, add_poisson, apply_focusing_optics_psf,
|
|
18
|
+
spatial_psf_fwhm, spectral_psf_fwhm, spectral_line_spread, across_slit_fwhm, to_electrons,
|
|
19
|
+
to_dn, add_visible_stray_light, add_pinhole_visible_light
|
|
20
|
+
)
|
|
21
|
+
from .pinhole_diffraction import apply_euv_pinhole_diffraction, airy_disk_pattern
|
|
22
|
+
from .fitting import fit_cube_gauss, velocity_from_fit, width_from_fit, analyse, FitConfig, FitComponent
|
|
23
|
+
from .monte_carlo import simulate_once, monte_carlo
|
|
24
|
+
from .main import main
|
|
25
|
+
from .data_processing import load_atmosphere, create_uniform_intensity_cube
|
|
26
|
+
from .atmosphere import (Atmosphere, describe_atmosphere_file, edges_from_centres,
|
|
27
|
+
read_atmosphere, write_atmosphere)
|
|
28
|
+
from .synthesis_file import (SpectralLine, Synthesis, convert_synthesis_pickle, load_synthesis,
|
|
29
|
+
read_synthesis, read_synthesis_products, write_line_cubes,
|
|
30
|
+
write_synthesis)
|
|
31
|
+
from .results_file import convert_results_pickle
|
|
32
|
+
from .band import (BandLines, IonLines, band_contribution_functions, read_band_lines,
|
|
33
|
+
write_band_lines)
|
|
34
|
+
from .readout import FocalPlane_SWC, ReadoutSequence
|
|
35
|
+
from .full_frame import FullFrame, full_ccd_frame, write_full_frame
|
|
36
|
+
from .analysis import (
|
|
37
|
+
load_instrument_response_results,
|
|
38
|
+
get_parameter_combinations,
|
|
39
|
+
analyse_fit_statistics,
|
|
40
|
+
list_fit_components,
|
|
41
|
+
get_results_for_combination,
|
|
42
|
+
summary_table,
|
|
43
|
+
create_sunpy_maps_from_combo,
|
|
44
|
+
)
|
|
45
|
+
from .deprecated import get_dem_data_from_results
|
|
46
|
+
|
|
47
|
+
__all__ = [
|
|
48
|
+
"Detector_SWC", "Detector_EIS", "Telescope_EUVST", "Telescope_EIS",
|
|
49
|
+
"Simulation", "AluminiumFilter",
|
|
50
|
+
"eis_effective_area",
|
|
51
|
+
"wl_to_vel", "vel_to_wl", "angle_to_distance", "distance_to_angle",
|
|
52
|
+
"intensity_to_photons", "add_telescope_throughput", "photons_to_pixel_counts",
|
|
53
|
+
"apply_exposure", "sample_photon_arrivals", "add_poisson", "apply_focusing_optics_psf",
|
|
54
|
+
"spatial_psf_fwhm", "spectral_psf_fwhm", "spectral_line_spread", "across_slit_fwhm",
|
|
55
|
+
"to_electrons",
|
|
56
|
+
"to_dn", "add_visible_stray_light", "add_pinhole_visible_light",
|
|
57
|
+
"fit_cube_gauss", "velocity_from_fit", "width_from_fit", "analyse",
|
|
58
|
+
"FitConfig", "FitComponent",
|
|
59
|
+
"simulate_once", "monte_carlo",
|
|
60
|
+
"main",
|
|
61
|
+
"load_atmosphere",
|
|
62
|
+
"create_uniform_intensity_cube",
|
|
63
|
+
"Atmosphere",
|
|
64
|
+
"describe_atmosphere_file",
|
|
65
|
+
"edges_from_centres",
|
|
66
|
+
"read_atmosphere",
|
|
67
|
+
"write_atmosphere",
|
|
68
|
+
"SpectralLine",
|
|
69
|
+
"Synthesis",
|
|
70
|
+
"convert_synthesis_pickle",
|
|
71
|
+
"load_synthesis",
|
|
72
|
+
"read_synthesis_products",
|
|
73
|
+
"write_line_cubes",
|
|
74
|
+
"read_synthesis",
|
|
75
|
+
"write_synthesis",
|
|
76
|
+
"convert_results_pickle",
|
|
77
|
+
"BandLines",
|
|
78
|
+
"IonLines",
|
|
79
|
+
"band_contribution_functions",
|
|
80
|
+
"read_band_lines",
|
|
81
|
+
"write_band_lines",
|
|
82
|
+
"FocalPlane_SWC",
|
|
83
|
+
"ReadoutSequence",
|
|
84
|
+
"FullFrame",
|
|
85
|
+
"full_ccd_frame",
|
|
86
|
+
"write_full_frame",
|
|
87
|
+
"load_instrument_response_results",
|
|
88
|
+
"get_parameter_combinations",
|
|
89
|
+
"analyse_fit_statistics",
|
|
90
|
+
"list_fit_components",
|
|
91
|
+
"get_results_for_combination",
|
|
92
|
+
"summary_table",
|
|
93
|
+
"create_sunpy_maps_from_combo",
|
|
94
|
+
"get_dem_data_from_results"
|
|
95
|
+
]
|