IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2004, 1:34:58 PM (22 years ago)
Author:
desonia
Message:

cleanup of some indent-induced madness.

File:
1 edited

Legend:

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

    r1426 r1440  
    99*  @author George Gusciora, MHPCC
    1010*
    11 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-08-09 22:44:25 $
     11*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2004-08-09 23:34:57 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    100100    const int row0;             ///< Offset from the bottom of chip.
    101101
    102     psImage *image;             ///< imaging area of Readout
    103     psList *objects;            ///< objects derived from Readout
    104     psMetadata *metadata;       ///< readout-level metadata
     102    psImage* image;             ///< imaging area of Readout
     103    psList* objects;            ///< objects derived from Readout
     104    psMetadata* metadata;       ///< readout-level metadata
    105105}
    106106psReadout;
     
    117117typedef struct psCell
    118118{
    119     psArray *readouts;          ///< readouts from the cell
    120     psMetadata *metadata;       ///< cell-level metadata
    121 
    122     psPlaneTransform *toChip;   ///< transformations from cell to chip coordinates
    123     psPlaneTransform *fromChip; ///< transformations from chip to cell coordinates
    124     psPlaneTransform *toFPA;    ///< transformations from cell to FPA coordinates
    125     psPlaneTransform *toSky;    ///< transformations from cell to sky coordinates
    126 
    127     struct psChip *parent;      ///< chip in which contains this cell
     119    psArray* readouts;          ///< readouts from the cell
     120    psMetadata* metadata;       ///< cell-level metadata
     121
     122    psPlaneTransform* toChip;   ///< transformations from cell to chip coordinates
     123    psPlaneTransform* fromChip; ///< transformations from chip to cell coordinates
     124    psPlaneTransform* toFPA;    ///< transformations from cell to FPA coordinates
     125    psPlaneTransform* toSky;    ///< transformations from cell to sky coordinates
     126
     127    struct psChip* parent;      ///< chip in which contains this cell
    128128}
    129129psCell;
     
    139139typedef struct psChip
    140140{
    141     psArray *cells;             ///< cells in the chip
    142     psMetadata *metadata;       ///< chip-level metadata
    143 
    144     psPlaneTransform *toFPA;    ///< transformation from chip to FPA coordinates
    145     psPlaneTransform *fromFPA;  ///< transformation from FPA to chip coordinates
    146 
    147     struct psFPA *parent;       ///< FPA which contains this chip
     141    psArray* cells;             ///< cells in the chip
     142    psMetadata* metadata;       ///< chip-level metadata
     143
     144    psPlaneTransform* toFPA;    ///< transformation from chip to FPA coordinates
     145    psPlaneTransform* fromFPA;  ///< transformation from FPA to chip coordinates
     146
     147    struct psFPA* parent;       ///< FPA which contains this chip
    148148}
    149149psChip;
     
    164164typedef struct psFPA
    165165{
    166     psArray *chips;             ///< chips in the focal plane array
    167     psMetadata *metadata;       ///< focal-plane's metadata
    168 
    169     psPlaneDistort *fromTangentPlane;   ///< transformation from tangent plane to focal plane
    170     psPlaneDistort *toTangentPlane;     ///< transformation from focal plane to tangent plane
    171     psFixedPattern *pattern;    ///< fixed pattern residual offsets
    172 
    173     const struct psExposure *exposure;  ///< information about this exposure
    174 
    175     psPhotSystem *colorPlus;    ///< Color reference
    176     psPhotSystem *colorMinus;   ///< Color reference
     166    psArray* chips;             ///< chips in the focal plane array
     167    psMetadata* metadata;       ///< focal-plane's metadata
     168
     169    psPlaneDistort* fromTangentPlane;   ///< transformation from tangent plane to focal plane
     170    psPlaneDistort* toTangentPlane;     ///< transformation from focal plane to tangent plane
     171    psFixedPattern* pattern;    ///< fixed pattern residual offsets
     172
     173    const struct psExposure* exposure;  ///< information about this exposure
     174
     175    psPhotSystem* colorPlus;    ///< Color reference
     176    psPhotSystem* colorMinus;   ///< Color reference
    177177
    178178    float rmsX;                 ///< RMS for x transformation fits
     
    214214psExposure;
    215215
    216 psExposure *psExposureAlloc(double ra,  ///< Telescope boresight, right ascention
     216psExposure* psExposureAlloc(double ra,  ///< Telescope boresight, right ascention
    217217                            double dec, ///< Telescope boresight, declination
    218218                            double hourAngle,   ///< Hour angle
     
    233233 *  exposure.
    234234 *
    235  *  @return psGrommit*     New grommit structure.
    236  */
    237 psGrommit *psGrommitAlloc(const psExposure * exp        ///< the cooresponding exposure structure.
     235 *  @return psGrommit* New grommit structure.
     236 */
     237psGrommit* psGrommitAlloc(const psExposure* exp        ///< the cooresponding exposure structure.
    238238                         );
    239239
    240 psCell *psCellinFPA(psCell * out, const psPlane * coord, const psFPA * FPA);
    241 
    242 psChip *psChipinFPA(psChip * out, const psPlane * coord, const psFPA * FPA);
    243 
    244 psCell *psCellinChip(psCell * out, const psPlane * coord, const psChip * chip);
    245 
    246 psPlane *psCoordCelltoChip(psPlane * out, const psPlane * in, const psCell * cell);
    247 
    248 psPlane *psCoordChipToFPA(psPlane * out, const psPlane * in, const psChip * chip);
    249 
    250 psPlane *psCoordFPAtoTP(psPlane * out, const psPlane * in, const psFPA * fpa);
    251 
    252 psSphere *psCoordTPtoSky(psSphere * out, const psPlane * in, const psGrommit * grommit);
    253 
    254 psPlane *psCoordCellToFPA(psPlane * out, const psPlane * in, const psCell * cell);
    255 
    256 psSphere *psCoordCelltoSky(psSphere * out, const psPlane * in, const psCell * cell);
    257 
    258 psSphere *psCoordCelltoSkyQuick(psSphere * out, const psPlane * in, const psCell * cell);
    259 
    260 psPlane *psCoordSkytoTP(psPlane * out, const psSphere * in, const psGrommit * grommit);
    261 
    262 psPlane *psCoordTPtoFPA(psPlane * out, const psPlane * in, const psFPA * fpa);
    263 
    264 psPlane *psCoordFPAtoChip(psPlane * out, const psPlane * in, const psChip * chip);
    265 
    266 psPlane *psCoordChiptoCell(psPlane * out, const psPlane * in, const psCell * cell);
    267 
    268 psPlane *psCoordSkytoCell(psPlane * out, const psSphere * in, const psCell * cell);
    269 
    270 psPlane *psCoordSkytoCellQuick(psPlane * out, const psSphere * in, const psCell * cell);
     240psCell* psCellinFPA(psCell* out, const psPlane* coord, const psFPA* FPA);
     241
     242psChip* psChipinFPA(psChip* out, const psPlane* coord, const psFPA* FPA);
     243
     244psCell* psCellinChip(psCell* out, const psPlane* coord, const psChip* chip);
     245
     246psPlane* psCoordCelltoChip(psPlane* out, const psPlane* in, const psCell* cell);
     247
     248psPlane* psCoordChipToFPA(psPlane* out, const psPlane* in, const psChip* chip);
     249
     250psPlane* psCoordFPAtoTP(psPlane* out, const psPlane* in, const psFPA* fpa);
     251
     252psSphere* psCoordTPtoSky(psSphere* out, const psPlane* in, const psGrommit* grommit);
     253
     254psPlane* psCoordCellToFPA(psPlane* out, const psPlane* in, const psCell* cell);
     255
     256psSphere* psCoordCelltoSky(psSphere* out, const psPlane* in, const psCell* cell);
     257
     258psSphere* psCoordCelltoSkyQuick(psSphere* out, const psPlane* in, const psCell* cell);
     259
     260psPlane* psCoordSkytoTP(psPlane* out, const psSphere* in, const psGrommit* grommit);
     261
     262psPlane* psCoordTPtoFPA(psPlane* out, const psPlane* in, const psFPA* fpa);
     263
     264psPlane* psCoordFPAtoChip(psPlane* out, const psPlane* in, const psChip* chip);
     265
     266psPlane* psCoordChiptoCell(psPlane* out, const psPlane* in, const psCell* cell);
     267
     268psPlane* psCoordSkytoCell(psPlane* out, const psSphere* in, const psCell* cell);
     269
     270psPlane* psCoordSkytoCellQuick(psPlane* out, const psSphere* in, const psCell* cell);
    271271
    272272#endif
Note: See TracChangeset for help on using the changeset viewer.