diff --git a/csst_mci_sim/__pycache__/csst_mci_sim.cpython-311.pyc b/csst_mci_sim/__pycache__/csst_mci_sim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..efffeb7acb195641354aad12cf3e97c60b7cb734 Binary files /dev/null and b/csst_mci_sim/__pycache__/csst_mci_sim.cpython-311.pyc differ diff --git a/csst_mci_sim/csst_mci_sim.py b/csst_mci_sim/csst_mci_sim.py index 8b7ac1e9c92d6f833c9fa32d30f2629b74f41805..cef45af3ab20980d9c2c9ef24d44c20e219e4a93 100644 --- a/csst_mci_sim/csst_mci_sim.py +++ b/csst_mci_sim/csst_mci_sim.py @@ -964,10 +964,10 @@ class MCIsimulator(): ################################################################################################## # booleans to control the flow # scale thibaut's values - if 'thibaut' in self.values['parallelTrapfile']: + if 'thibaut' in self.information['parallelTrapfile']: self.nt_p /= 0.576 # thibaut's values traps / pixel self.sigma_p *= 1.e4 # thibaut's values in m**2 - if 'thibaut' in self.values['serialTrapfile']: + if 'thibaut' in self.information['serialTrapfile']: self.nt_s *= 0.576 # thibaut's values traps / pixel #should be division? self.sigma_s *= 1.e4 # thibaut's values in m**2 diff --git a/csst_mci_sim/mci_so/__pycache__/__init__.cpython-311.pyc b/csst_mci_sim/mci_so/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0cfa51aed7d5e0c7e2f8fe2ac372f8698db5cfe Binary files /dev/null and b/csst_mci_sim/mci_so/__pycache__/__init__.cpython-311.pyc differ diff --git a/csst_mci_sim/support/__pycache__/MCIinstrumentModel.cpython-311.pyc b/csst_mci_sim/support/__pycache__/MCIinstrumentModel.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3edfb62546b041fc24ff35024dec605978f5cc24 Binary files /dev/null and b/csst_mci_sim/support/__pycache__/MCIinstrumentModel.cpython-311.pyc differ diff --git a/csst_mci_sim/support/__pycache__/__init__.cpython-311.pyc b/csst_mci_sim/support/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..15e38979bd24b4bb93b9ac94441d99eae69c11fb Binary files /dev/null and b/csst_mci_sim/support/__pycache__/__init__.cpython-311.pyc differ diff --git a/csst_mci_sim/support/__pycache__/cosmicrays.cpython-311.pyc b/csst_mci_sim/support/__pycache__/cosmicrays.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..43a7890a7f3f804c09b604251ebce60a62bcc77f Binary files /dev/null and b/csst_mci_sim/support/__pycache__/cosmicrays.cpython-311.pyc differ diff --git a/csst_mci_sim/support/__pycache__/logger.cpython-311.pyc b/csst_mci_sim/support/__pycache__/logger.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1896255c6b9a0b7d3bc2f94f8b624fb24ec08e0 Binary files /dev/null and b/csst_mci_sim/support/__pycache__/logger.cpython-311.pyc differ diff --git a/csst_mci_sim/support/__pycache__/sed.cpython-311.pyc b/csst_mci_sim/support/__pycache__/sed.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..00bef1b8dc42091d553c5d64345fe59be5d1c101 Binary files /dev/null and b/csst_mci_sim/support/__pycache__/sed.cpython-311.pyc differ diff --git a/csst_mci_sim/support/__pycache__/shao.cpython-311.pyc b/csst_mci_sim/support/__pycache__/shao.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..db9b1bfcfc97aca90203f767f9ee8ea7323b2dd0 Binary files /dev/null and b/csst_mci_sim/support/__pycache__/shao.cpython-311.pyc differ diff --git a/csst_mci_sim/support/shao.py b/csst_mci_sim/support/shao.py index 50d73b296bdebeb50d52156f09be4b87bd858f6f..575dfbd5704ea69431d367ffd147ae9c352872db 100644 --- a/csst_mci_sim/support/shao.py +++ b/csst_mci_sim/support/shao.py @@ -29,18 +29,18 @@ def onOrbitObsPosition(path, input_ra_list, input_dec_list, input_pmra_list, inp checkInputList(input_rv_list, input_nstars) checkInputList(input_parallax_list, input_nstars) - if isinstance(type(input_x), type(1.1)): # type(input_x) != type(1.1): - raise TypeError("Parameter 8 is not double!", input_x) - if isinstance(type(input_y), type(1.1)): # type(input_y) != type(1.1): - raise TypeError("Parameter 9 is not double!", input_y) - if isinstance(type(input_z), type(1.1)): # type(input_z) != type(1.1): - raise TypeError("Parameter 10 is not double!", input_z) - if isinstance(type(input_vx), type(1.1)): # type(input_vx) != type(1.1): - raise TypeError("Parameter 11 is not double!", input_vx) - if isinstance(type(input_vy), type(1.1)): # type(input_vy) != type(1.1): - raise TypeError("Parameter 12 is not double!", input_vy) - if isinstance(type(input_vz), type(1.1)): # type(input_vz) != type(1.1): - raise TypeError("Parameter 13 is not double!", input_vz) + # if isinstance(type(input_x), type(1.1)): # type(input_x) != type(1.1): + # raise TypeError("Parameter 8 is not double!", input_x) + # if isinstance(type(input_y), type(1.1)): # type(input_y) != type(1.1): + # raise TypeError("Parameter 9 is not double!", input_y) + # if isinstance(type(input_z), type(1.1)): # type(input_z) != type(1.1): + # raise TypeError("Parameter 10 is not double!", input_z) + # if isinstance(type(input_vx), type(1.1)): # type(input_vx) != type(1.1): + # raise TypeError("Parameter 11 is not double!", input_vx) + # if isinstance(type(input_vy), type(1.1)): # type(input_vy) != type(1.1): + # raise TypeError("Parameter 12 is not double!", input_vy) + # if isinstance(type(input_vz), type(1.1)): # type(input_vz) != type(1.1): + # raise TypeError("Parameter 13 is not double!", input_vz) # Convert km -> m input_x = input_x*1000.0