segueSelect: SDSS/SEGUE selection function modelling
Abstract
The Python package segueSelect automatically models the SDSS/SEGUE selection fraction  the fraction of stars with good spectra  as a continuous function of apparent magnitude for each plate. The selection function can be determined for any desired sample cuts in signaltonoise ratio, ug, ri, and E(BV). The package requires Pyfits (ascl:1207.009) and, for coordinate transformations, galpy (ascl:1411.008). It can calculate the KS probability that the spectropscopic sample was drawn from the underlying photometric sample with the model selection function, plot the cumulative distribution function in rband apparent magnitude of the spectroscopic sample (red) and the photometric sample+selectionfunctionmodel for this plate, and, if galpy is installed, can transform velocities into the Galactic coordinate frame. The code can also determine the selection function for SEGUE K stars.
 Publication:

Astrophysics Source Code Library
 Pub Date:
 November 2014
 Bibcode:
 2014ascl.soft11007B
 Keywords:

 Software