Closed zonca closed 6 years ago
Hi @zonca, work in progress, should be done in about a day.
https://github.com/hpc4cmb/toast-pico
$> toast_pico_hardware.py --bands params/bands.txt --pixels
params/pixels.txt --fov 12.15 --plot
which will dump 2 different testing formats (yaml and json, am investigating hdf5 now) and make some pretty plots. To dump pickle files compatible with the toast example scripts, use a different tool:
$> toast_pico_pkl.py --bands params/bands.txt --pixels
params/pixels.txt --fov 12.15
Thanks for posting it in a better place. I still need to apply the 30 degree rotation of the whole focalplane (so that it is correct for the scan direction) but that is a detail for now.
@tskisner is the 30 deg rotation done?
Sorry for the delay, just pushed that change to toast-pico so that the detectors are in a line along the scan direction (or should be). If you do a few-second sim and see the detector hits not trailing each other, then just change that overall rotation angle: https://github.com/hpc4cmb/toast-pico/blob/master/toast_pico/hardware.py#L145
@tskisner here is 3.8 sec of band 9, how do I tell?
Sorry for not being more clear. I ran the toast_satellite_sim.py script with the central GHI wafer (band 21), for obs=0.01 and nside 2048. Then I plotted the hit map with:
hp.gnomview(hits, rot=(-95.0, -0.3, 0.0), min=0.0, max=10.0, reso=1.0)
And here is the result: So from this you can see that he detectors are aligned along the scan direction. So I think we are good to go :-)
ok, good thanks
@tskisner @jdborrill, are the new features of the focalplane generation for PICO finalized? Can you generate the focalplane for the noise sims (or explain me how to generate it)?