>  Docs Center  >  Libraries  >  Buie  >  FLX2MAG
Libraries

FLX2MAG

FLX2MAG

Name


    flx2mag

Purpose (one Line)


    Convert from flux units to magnitudes with errors.

Description


Category


    Photometry

Calling Sequence


    flx2mag,flux,fluxerr,mag,magerr

Inputs


    flux - Flux values for the magnitudes.
    fluxerr - Uncertainties on the fluxes.

Optional Input Parameters


Keyword Input Parameters


    ZEROPT - Magnitude that corresponds to a flux of 1. (default=0)

Outputs


    mag - Magnitudes (set to 99.9 if flux <= 0).
    magerr - Uncertainties on the magnitudes (set to 9.9 if flux <= 0).

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


Procedure


Modification History


  2007/10/29, MWB, modifications to make it more error tolerant



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us