[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


TRIPP_FLAT Source code in tripp_flat.pro

TRIPP_FLAT

Name
           TRIPP_FLAT
Purpose
           combination of several flat images to one median flat image
           result = MEDIAN( flats - zero )
Input Parameters
           logName : Name of reduction log file
Optional Input Parameters
           nr_subframes : divide each image in <nr_subframes>
                          subimages (reduction of array size)
                          default = 1
Keyword Parameters
           /no_norm     : do not normalize subframes
           /recover     : Tries to build the accepted flat field list
                          from already present
                          reduced flat images selected/generated
                          at a former processing stage.
                          This option could be used when selection of
                          images was done but flat field processing
                          failed (eg. out of memory).
                          If only a subset of processed flat fields
                          should be kept all unwanted flat field
                          image files must be deleted in the target
                          directory.
Restrictions
           file typ   : FITS
           rule for image names: xyz0001.fits
                                 i.e. four digits - dot - extension
Output Parameters
           fits file output: result = MEDIAN( flats - zero )
Revision History
           Version 1.0, 1999/23/05, Jochen Deetjen & Thomas Rauch
                        2000/20/12  SD, Keyword no_norm and handling added
                        2001/01     SLS, change zero to long(zero)
                                    after readfits
                        2001/01     SD, print statement to follow progress
                        2001/02   , SLS: added minInt; do not set
                                    minInt or maxInt defaults (will
                                    be taken care of in tripp_display_frames)
                        2001/02   , SLS, added messages
                        2001/05   , SLS, slight change to handling of
                                    no_norm keyword: does not need to
                                    be set in the code, IF now relies on
                                    keyword_set
                        2001/05   , SLS, use medarr procedure, not
                                    active!
           Version 2.0, 2001/01/10, Eckart Göhler: Replaced
                                    processing approach by a less
                                    memory consuming one (but also
                                    slower one ;-<  ) while
                                    reading each image one by one and
                                    selecting it, then perform
                                    processing in subframes. Call now
                                    with TRIPP_PROCESS_IMAGES -> more
                                    sophisticated than the
                                    TRIPP_READ_FRAMES one.
           Version 2.1, 2001/01/12, SLS & SD: different output name
                                    for processed images, else way too
                                    dangerous. Not tested with
                                    /recover yet.
           Version 2.2, 2002/03/01, EG: Added RECOVER keyword which
                                    allows recovering from already
                                    selected files.
                                    Test runs ok.
                            2002/03 SLS: call to tripp_process_images
                                    had not transported the minInt
                                    and maxInt keywords
                            2004/08 S.D. Huegelmeyer: adapted to use
                                    with 'filelist'.
                            2005/11 S.S., call to tripp_read_filelist
                                    now requires log (before: log.last)
                            2005/11 S.S., clean up directory handling;
                                    for this, use new /modified
                                    capability of tripp_read_filelist
                                    and streamline from fits.mod to
                                    _mod.fits
                                    clean up bits of unused code
                            2005/11 S.S. float() in writefits calls
                                    to avoid excessive file sizes;
                                    read all images in double precision
                            2005/11 R.L: median for flats only taken from
                                    inner 1/3 of picture for normalization

Last modified by pro2html on 2006 December 19 at 04:11 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically