Currently, the ObsCondition randomly assigns the input galaxies into healpix pixels depending on the input survey footprint. I would like to add a functionality such that it will first check if the data contains ra and dec columns, and if so, use the observing conditions corresponding to these positions; in case there is no spatial coordinates, random assignment will be used. The output from ObsCondition attaches the pixel number of the galaxy to the input data; I would like to change this to ra, decl, such that the Dereddener can be run on the output.
Currently, the
ObsCondition
randomly assigns the input galaxies into healpix pixels depending on the input survey footprint. I would like to add a functionality such that it will first check if the data containsra
anddec
columns, and if so, use the observing conditions corresponding to these positions; in case there is no spatial coordinates, random assignment will be used. The output from ObsCondition attaches the pixel number of the galaxy to the input data; I would like to change this tora
,decl
, such that theDereddener
can be run on the output.