Add fluxes to randoms

Warning

This is currently undergoing active development and testing

Instructions

Add fluxes and SNR to a random catalogues previously generated as in Generate Randoms. Fluxes are assigned based on a luminosity function.

Warning

This luminosity function currently just returns random values.

You can optionally apply a detection efficiency model which rejects some fraction of the low-SNR points.

Warning

The detection model is under active development and not carefully tested.

Running the code:

add_fluxes_to_randoms [-h] [--det-eff] fn_in fn_out

fn_in       Output filename (extension sets filetype)
fn_out      Output filename (extension sets filetype)