Open smsimon opened 6 years ago
agree. If you can provide me with a typical YAML file from TOAST, I will implement a routine to read/save hardware file in s4cmb.
I would say
Yes there is one. In the class FocalPlane, you have a routine make_focal_plane which defines the hierarchy and physical locations:
## Initialise
self.crate_id, self.dfmux_id = [], []
self.squid_id, self.bolo_id = [], []
self.bolo_index_in_squid, self.bolo_index_in_fp = [], []
self.bolo_xcoord, self.bolo_ycoord, self.bolo_polangle = [], [], []
It is very basic and can be expanded (we can add electrical info for example which could be useful to have later on when we simulate crosstalk, or any other idea). Note that what I call currently Crate would correspond to a wafer (sorry, this is probably not the right thing to do...).
Concerning 2. : we should also coordinate to create input file containing location of bolometers and useful information to be read by codes rather than on-the-fly generation. (PB used to use hardware map, but others have similar things).
Idea: configuration file should contain beam parameters.
Concerning dichroic detector, here is a first attempt. The change still lives in a separate branch in s4cmb (origin/dichroic), so make sure you switch to that branch if you want to use it. As it is still experimental (and messy!) do not hesitate to report here any issue or concern.
1) It would be convenient to have a hardware input file in YAML that can be shared between TOAST an s4cmb, so that we can just import an experiment (SO for example). 2) We're also wondering if the following are implemented/easily implemented into the instrument setup