IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2004, 11:30:14 AM (22 years ago)
Author:
desonia
Message:

added psObservatory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.h

    r1816 r1981  
    88*  @author George Gusciora, MHPCC
    99*
    10 *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-09-15 22:57:12 $
     10*  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-10-06 21:30:14 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8383psFixedPattern;
    8484
    85 psFixedPattern *psFixedPatternAlloc(double x0,           ///< X Position of 0,0 corner on focal plane
    86                                     double y0,           ///< Y Position of 0,0 corner on focal plane
    87                                     double xScale,       ///< Scale of the grid in x direction
    88                                     double yScale,       ///< Scale of the grid in x direction
    89                                     const psImage *x,    ///< The grid of offsets in x
    90                                     const psImage *y     ///< The grid of offsets in y
    91                                    );
    92 
    9385/** Readout data structure.
    9486 *
     
    123115 *
    124116 */
    125 typedef struct psCell
     117typedef struct
    126118{
    127119    psArray* readouts;                 ///< readouts from the cell
     
    225217psExposure;
    226218
     219/** Observatory Information
     220 *
     221 *  A container for the observatory data that doesn't change per exposure.
     222 *
     223 */
     224typedef struct
     225{
     226    const char* name;                  ///< Name of observatory
     227    const double latitude;             ///< Latitude of observatory, east positive
     228    const double longitude;            ///< Longitude of observatory
     229    const double height;               ///< Height of observatory
     230    const double tlr;                  ///< Tropospheric Lapse Rate
     231}
     232psObservatory;
     233
     234
     235/** Allocator for psFixedPattern struct
     236 *
     237 *  Allocates a new psFixedPattern struct with the attributes coorsponding
     238 *  to the parameters set to the said input values.
     239 *
     240 *  @return psFixedPattern*     New psFixedPattern struct.
     241 */
     242psFixedPattern* psFixedPatternAlloc(
     243    double x0,           ///< X Position of 0,0 corner on focal plane
     244    double y0,           ///< Y Position of 0,0 corner on focal plane
     245    double xScale,       ///< Scale of the grid in x direction
     246    double yScale,       ///< Scale of the grid in x direction
     247    const psImage *x,    ///< The grid of offsets in x
     248    const psImage *y     ///< The grid of offsets in y
     249);
     250
     251
    227252/** Allocator for psExposure
    228253 *
     
    231256 *  quantities can be derived and stored for later use.
    232257 *
    233  *  @return     psExposure*    new psExposure struct
     258 *  @return     psExposure*    New psExposure struct
    234259 */
    235260psExposure* psExposureAlloc(
     
    248273);
    249274
     275/** Allocator for psObservatory
     276 *
     277 *  This function shall construct a new psObservatory with attributes
     278 *  cooresponding to the function parameters.
     279 *
     280 *  @return psObservatory*    new psObservatory struct
     281 */
     282psObservatory* psObservatoryAlloc(
     283    const char* name,                  ///< Name of observatory
     284    double latitude,                   ///< Latitude of observatory, east positive
     285    double longitude,                  ///< Longitude of observatory
     286    double height,                     ///< Height of observatory
     287    double tlr                         ///< Tropospheric Lapse Rate
     288);
     289
    250290/** Allocator for psFPA
    251291 *
Note: See TracChangeset for help on using the changeset viewer.