|
1 | 1 | # This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS). |
2 | | -# Last modified by David J Turner (turne540@msu.edu) 12/03/2025, 16:02. Copyright (c) The Contributors |
| 2 | +# Last modified by David J Turner (turne540@msu.edu) 27/03/2025, 22:31. Copyright (c) The Contributors |
3 | 3 |
|
4 | 4 | from inspect import signature, Parameter |
5 | 5 | from types import FunctionType |
6 | 6 | from typing import Union |
7 | 7 |
|
8 | 8 | from astropy.units import Quantity |
9 | 9 |
|
10 | | -# This constant very importantly defined whether each argument to the XGA XSPEC fitting functions should be included |
| 10 | +# This constant very importantly defines whether each argument to the XGA XSPEC fitting functions should be included |
11 | 11 | # in the fit configuration storage key - we define it here so that this information can be accessed outside the |
12 | 12 | # actual fit function. We will also check the arguments of each fit function against these entries to see whether |
13 | 13 | # an argument has been added that is not accounted for here. |
|
18 | 18 | 'group_spec': False, 'min_counts': False, 'min_sn': False, 'over_sample': False, |
19 | 19 | 'one_rmf': False, 'num_cores': False, 'spectrum_checking': False, 'timeout': False}, |
20 | 20 |
|
| 21 | + 'double_temp_apec': {'inner_radius': False, 'start_temp_one': True, 'start_temp_two': True, |
| 22 | + 'start_met_one': True, 'start_met_two': True, 'lum_en': False, 'freeze_nh': True, |
| 23 | + 'freeze_met_one': True, 'freeze_met_two': True, 'freeze_temp_one': True, |
| 24 | + 'freeze_temp_two': True, 'lo_en': True, 'hi_en': True, 'par_fit_stat': True, |
| 25 | + 'lum_conf': False, 'abund_table': True, 'fit_method': True, |
| 26 | + 'group_spec': False, 'min_counts': False, 'min_sn': False, 'over_sample': False, |
| 27 | + 'one_rmf': False, 'num_cores': False, 'spectrum_checking': False, 'timeout': False}, |
| 28 | + |
21 | 29 | 'single_temp_mekal': {'inner_radius': False, 'start_temp': True, 'start_met': True, 'lum_en': False, |
22 | 30 | 'freeze_nh': True, 'freeze_met': True, 'freeze_temp': True, 'lo_en': True, 'hi_en': True, |
23 | 31 | 'par_fit_stat': True, 'lum_conf': False, 'abund_table': True, 'fit_method': True, |
|
0 commit comments