Class created to store the constants used throughout the simulation
Source code in src/xifu_cluster_sim/xifu_config.py
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 | class XIFU_Config:
"""
Class created to store the constants used throughout the simulation
"""
def __init__(self):
r"""
- Pixel size = $317\cdot10^{-6}$m
- Focal length = 12m
- Pointing shape in pixels 58x58
- Number of pixels = 1504
"""
self.pixel_size_m = 317e-6 #meters
self.athena_focal_length = 12.0 #meters
self.pointing_shape = (58,58)
self.pixsize_arcsec = (self.pixel_size_m / self.athena_focal_length * units.radian).to(units.arcsec)
self.pixsize_degree = (self.pixel_size_m / self.athena_focal_length * units.radian).to(units.degree)
self.xifu_pixel_number = 1504
self.std_xmlfile = '/xifu/usr/share/sixte/instruments/athena-xifu_2024_11/baseline/xifu_nofilt_infoc_high_bkg_AM.xml'
|
__init__()
- Pixel size = \(317\cdot10^{-6}\)m
- Focal length = 12m
- Pointing shape in pixels 58x58
- Number of pixels = 1504
Source code in src/xifu_cluster_sim/xifu_config.py
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 | def __init__(self):
r"""
- Pixel size = $317\cdot10^{-6}$m
- Focal length = 12m
- Pointing shape in pixels 58x58
- Number of pixels = 1504
"""
self.pixel_size_m = 317e-6 #meters
self.athena_focal_length = 12.0 #meters
self.pointing_shape = (58,58)
self.pixsize_arcsec = (self.pixel_size_m / self.athena_focal_length * units.radian).to(units.arcsec)
self.pixsize_degree = (self.pixel_size_m / self.athena_focal_length * units.radian).to(units.degree)
self.xifu_pixel_number = 1504
self.std_xmlfile = '/xifu/usr/share/sixte/instruments/athena-xifu_2024_11/baseline/xifu_nofilt_infoc_high_bkg_AM.xml'
|