>  Docs Center  >  Libraries  >  Buie  >  WRREDUC
Libraries

WRREDUC

WRREDUC

Name


  wrreduc

Purpose


  Write a reductor info file (reduc.inf)

Description


  Writes all fields of the reduc.inf file, including the rules.
  The current version (V1.1) of the file is generated.

Category


  Photometry

Calling Sequence


  wrreduc,infofile,inst,ddir,rundate,rad,sky1,sky2,gain,rdnoise,oplines

Inputs


  infofile- filename for the info file.
  inst - name of instrument for the run. Will be a NULL string
              if the info file cannot be found.
  ddir - path to image data for the run.
  rundate- date code for the run, six digit string.
  rad- float, object aperture radius in pixels.
  sky1- float, inner sky annulus radius in pixels.
  sky2- float, outer sky annulus radius in pixels.
  gain- float, instrument gain in e-/DN
  rdnoise- float, instrument read noise in e-/pixel.

Optional Input Parameters


  oplines- string array, rule lines ( line 6 and beyond of info file)
          No rule lines generated if vector unknown ( or starts with '').

Keyword Input Parameters


  GUI- Flag, if set use modal widgets to prompt for any additional inputs.
              This flag is also passed to reducprmt.
  NOCLOBBER- Flag, if set, prompts if the infofile already exists.

Outputs


Keyword Output Parameters


Common Blocks


Side Effects


  Will write or rewrite infofile.

Restrictions


Procedure


Modification History


  2006/08/27 Written, Peter L. Collins, Lowell Observatory



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us