IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1518


Ignore:
Timestamp:
Aug 12, 2004, 11:16:59 AM (22 years ago)
Author:
Paul Price
Message:

Added color,mag to functions that transform between the FPA and the
tangent plane. These are necessary for the distortion (which is a
function of color and magnitude) to be applied.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psAstrom.h

    r1511 r1518  
    184184    psPlaneTransform *cellToChip;       ///< Transformations from cell coordinates to chip coordinates
    185185    psPlaneTransform *cellToFPA;        ///< Transformations from cell coordinates to FPA coordinates
    186     psPlaneTransform *cellToSky;        ///< Quick and Dirty transformations from cell coordinates to sky
     186    psPlaneTransform *toTP;             ///< Quick and Dirty transformations from cell coordinates to sky
    187187    struct psChip  *parentChip;         ///< chip which contains this cell
    188188} psCell;
     
    260260psCoordFPAToTP(psPlane *out,            ///< Coordinates to return, or NULL
    261261               const psPlane *in,       ///< input FPA coordinate
     262               float color,             ///< Color of source, using reference defined in the fpa
     263               float mag,               ///< Magnitude of source
    262264               const psFPA *fpa)        ///< FPA description
    263265;
     
    281283psCoordCellToSky(psSphere *out,         ///< Coordinates to return, or NULL
    282284                 const psPlane *in,     ///< cell coordinates to transform
     285                 float color,           ///< Color of source, using reference defined in the fpa
     286                 float mag,             ///< Magnitude of source
    283287                 const psCell *cell)    ///< Cell to get coordinates for
    284288;
    285289
    286 /** Convert cell and cell coordinate to (RA,Dec) */
     290/** Convert cell and cell coordinate to (RA,Dec).  Don't need color,mag here because it's quick and dirty. */
    287291psSphere *
    288 psCoordCellToSkyQD(psSphere *out,       ///< Coordinates to return, or NULL
    289                    const psPlane *in,   ///< cell coordinates to transform
    290                    const psCell *cell)  ///< Cell to get coordinates for
     292psCoordCellToSkyQuick(psSphere *out,    ///< Coordinates to return, or NULL
     293                      const psPlane *in, ///< cell coordinates to transform
     294                      const psCell *cell) ///< Cell to get coordinates for
    291295;
    292296
     
    304308psCoordTPtoFPA(psPlane *out,            ///< Coordinates to return, or NULL
    305309               const psPlane *in,       ///< input TP coordinate
     310               float color,             ///< Color of source, using reference defined in the fpa
     311               float mag,               ///< Magnitude of source
    306312               const psFPA *fpa)        ///< FPA description
    307313;
     
    325331psCoordSkyToCell(psPlane *out,          ///< Coordinates to return
    326332                 const psSphere *in,    ///< Input coordinates
     333                 float color,           ///< Color of source, using reference defined in the fpa
     334                 float mag,             ///< Magnitude of source
    327335                 const psCell *cell)    ///< Cell of interest
    328336;
Note: See TracChangeset for help on using the changeset viewer.