IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1118


Ignore:
Timestamp:
Jun 28, 2004, 4:25:13 PM (22 years ago)
Author:
Paul Price
Message:

More cleaning, untabifying.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/modules/ModulesSDRS.tex

    r1117 r1118  
    1 %%% $Id: ModulesSDRS.tex,v 1.6 2004-06-29 02:23:47 price Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.7 2004-06-29 02:25:13 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    116116/** A convolution kernel */
    117117typedef struct {
    118     int xMin, yMin;                     ///< Most negative indices
    119     int xMax, yMax;                     ///< Most positive indices
    120     float **kernel;                     ///< The kernel data
     118    int xMin, yMin;                     ///< Most negative indices
     119    int xMax, yMax;                     ///< Most positive indices
     120    float **kernel;                     ///< The kernel data
    121121} psKernel;
    122122\end{verbatim}
     
    237237/** A 1D cubic-spline */
    238238typedef struct {
    239     int n;                              ///< Number of spline pieces
    240     float *coeff[4];                    ///< Coefficients.  There are 4 coefficients for each spline piece.
    241     float *coeffErr[4];                 ///< Errors in the coefficients.
    242     bool *mask[4];                      ///< Mask for the coefficients.
    243     float *domains;                     ///< The boundaries between each spline piece.  Size is n+1.
     239    int n;                              ///< Number of spline pieces
     240    float *coeff[4];                    ///< Coefficients.  There are 4 coefficients for each spline piece.
     241    float *coeffErr[4];                 ///< Errors in the coefficients.
     242    bool *mask[4];                      ///< Mask for the coefficients.
     243    float *domains;                     ///< The boundaries between each spline piece.  Size is n+1.
    244244} psSpline1D;
    245245\end{verbatim}
     
    307307/** Fit type */
    308308typedef enum {
    309     PS_FIT_NONE,                ///< No fit
    310     PS_FIT_LINEAR,              ///< Do linear interpolation
    311     PS_FIT_POLYNOMIAL,          ///< Fit polynomial
    312     PS_FIT_CHEBYSHEV,           ///< Fit chebyshev
    313     PS_FIT_SPLINE               ///< Fit cubic splines
     309    PS_FIT_NONE,                ///< No fit
     310    PS_FIT_LINEAR,              ///< Do linear interpolation
     311    PS_FIT_POLYNOMIAL,          ///< Fit polynomial
     312    PS_FIT_CHEBYSHEV,           ///< Fit chebyshev
     313    PS_FIT_SPLINE               ///< Fit cubic splines
    314314} psFit;
    315315\end{verbatim}
     
    331331/** Overscan axis */
    332332typedef enum {
    333     PS_OVERSCAN_NONE,                   ///< No overscan subtraction
    334     PS_OVERSCAN_ROWS,                   ///< Subtract rows
    335     PS_OVERSCAN_COLUMNS,                ///< Subtract columns
    336     PS_OVERSCAN_ALL                     ///< Subtract the statistic of all pixels in overscan region
     333    PS_OVERSCAN_NONE,                   ///< No overscan subtraction
     334    PS_OVERSCAN_ROWS,                   ///< Subtract rows
     335    PS_OVERSCAN_COLUMNS,                ///< Subtract columns
     336    PS_OVERSCAN_ALL                     ///< Subtract the statistic of all pixels in overscan region
    337337} psOverscanAxis;
    338338\end{verbatim}
     
    546546/** Mask values */
    547547typedef enum {
    548     PS_MASK_TRAP,                       // The pixel is a charge trap
    549     PS_MASK_BADCOL,                     // The pixel is a bad column
    550     PS_MASK_SAT,                        // The pixel is saturated
    551     PS_MASK_FLAT,                       // The pixel is non-positive in the flat-field
    552     PS_MASK_CR_MORPH                    // The pixel is determined to be a cosmic ray, based on its morphology
     548    PS_MASK_TRAP,                       ///< The pixel is a charge trap
     549    PS_MASK_BADCOL,                     ///< The pixel is a bad column
     550    PS_MASK_SAT,                        ///< The pixel is saturated
     551    PS_MASK_FLAT,                       ///< The pixel is non-positive in the flat-field
     552    PS_MASK_CR_MORPH                    ///< The pixel is determined to be a cosmic ray, from morphology
    553553} psMaskValue;
    554554\end{verbatim}
     
    569569\begin{verbatim}
    570570/** Returns an image that has the bad pixels masked.  Also masks saturated pixels */
    571 psReadout *psPhase2MaskBadPixels(psReadout *in ///< Image to be masked, and output
    572                                  const psImage *mask, ///< Bad pixel mask to apply
    573                                  int maskVal, ///< Mask the pixels for which mask & maskVal > 0.
    574                                  float sat, ///< Saturation level: pixels brighter than this level are masked
    575                                  int grow ///< Radius to grow the bad pixels
    576                                  );
     571psReadout *psPhase2MaskBadPixels(psReadout *in, const psImage *mask, int maskVal, float sat, int grow);
    577572\end{verbatim}
    578573
Note: See TracChangeset for help on using the changeset viewer.