IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2009, 4:08:25 PM (17 years ago)
Author:
Paul Price
Message:

Merging trunk (r25026) to get up-to-date on old branch.

Location:
branches/pap
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/pap

  • branches/pap/extsrc/gpcsw

    • Property svn:ignore
      •  

        old new  
        55man
        66Makefile
         7Makefile.bak
  • branches/pap/extsrc/gpcsw/gpcsrc/fits/burntool/man/burntool.1

    r23924 r25027  
    6666        inhibited from subtracting the fits by "update=f".
    6767       
     68        Two other modes can be invoked using "tableonly=t" and "apply=t".
     69        The first mode is just like "update=t", except that it does not write
     70        the modified images, only the FITS table and/or tabulated fit data.
     71        The second mode is like "restore=t", except that it subtracts the
     72        tabulated fits instead of adding them back in.  Note that this requires
     73        slightly different specifications for the "in=" file:
     74
     75                update or tableonly:    in=previous_file_for_persistence
     76                restore or apply:       in=this_file_for_burn_and_persistence
     77
     78        Thus a sequence of images could be processed (leaving off usual
     79        arguments such as mask=, etc) to immediately fit and subtract:
     80
     81           burntool o4991g0001o24.fits \
     82                                   out=o4991g0001o24.burn \
     83             psfstat=o4991g0001o24.stat psf=o4991g0001o24.psf
     84
     85           burntool o4991g0002o24.fits \
     86             in=o4991g0001o24.burn out=o4991g0002o24.burn \
     87             psfstat=o4991g0002o24.stat psf=o4991g0002o24.psf
     88
     89           burntool o4991g0003o24.fits \
     90             in=o4991g0002o24.burn out=o4991g0003o24.burn \
     91             psfstat=o4991g0003o24.stat psf=o4991g0003o24.psf
     92
     93        or as a two step process of generating tables:
     94
     95           burntool o4991g0001o24.fits tableonly=t \
     96                                   out=o4991g0001o24.burn \
     97             psfstat=o4991g0001o24.stat psf=o4991g0001o24.psf
     98
     99           burntool o4991g0002o24.fits tableonly=t \
     100             in=o4991g0001o24.burn out=o4991g0002o24.burn \
     101             psfstat=o4991g0002o24.stat psf=o4991g0002o24.psf
     102
     103           burntool o4991g0003o24.fits tableonly=t \
     104             in=o4991g0002o24.burn out=o4991g0003o24.burn \
     105             psfstat=o4991g0003o24.stat psf=o4991g0003o24.psf
     106
     107        and then later on carrying out the subtractions of the fits:
     108
     109           burntool o4991g0001o24.fits apply=t
     110           burntool o4991g0002o24.fits apply=t
     111           burntool o4991g0003o24.fits apply=t
     112
    68113        The identification of significant (but unsaturated) stars is an
    69114        important component of burntool's mask generation, and if requested
    70115        burntool can assemble a gallery of postage stamps of suitable stars.
     116        This does not work with "restore=t" or "apply=t" of course, since
     117        these work only on previous tables and do not examine the images.
    71118       
    72119        Any star whose maximum exceeds PSF_THRESH above sky but is not deemed
     
    125172           qt=-5.201       Tangential quadrupole [pix^2] (-99.99 if fails)
    126173                                q+ * cos(2*phi) + qx * sin(2*phi)
     174           q3c=-1.193      Cosine trefoil measure [pix^2] (-99.99 if fails)
     175           q3s=-0.038      Sine trefoil measure [pix^2] (-99.99 if fails)
    127176           qpm=5.154       Plus quadrupole averaged over psfavg
    128177           qcm=0.560       Cross quadrupole averaged over psfavg
    129178           qtm=-5.201      Tangential averaged over psfavg
     179           q3cm=-1.230     Cosine trefoil averaged over psfavg
     180           q3sm=-0.079     Sine trefoil averaged over psfavg
     181
     182        The net, polar coordinate quadrupole can be assembled from
     183
     184           Qmagnitude = sqrt(qpm^2+qcm^2)
     185           Qtheta     = 0.5 * atan2(qcm, qpm)
    130186
    131187        Helpful utilities include:
     
    151207
    152208        update={t|f}   
    153                 Modify the input MEF by subtracting fits (default t)?
     209                Calculate fits and modify the input MEF images by subtracting
     210                the trail fits and writing a FITS table (default t).  If
     211                false the MEF is not altered, although PSF can be calculated.
    154212
    155213        restore={t|f} 
    156                 Restore the input MEF by adding input fits (default f)?
     214                Restore the input MEF by adding input fits (default f)
     215
     216        apply={t|f}
     217                Use previously calculated fits to modify the input MEF image
     218                by subtraction (default f)
     219
     220        tableonly={t|f}
     221                Calculate fits but do *not* modify the input MEF images,
     222                only write the fit data as a FITS and/or text table (default f)
    157223
    158224        in=fname       
Note: See TracChangeset for help on using the changeset viewer.