NAME:
reducprmt
PURPOSE:
Promote version of a reductor info file to highest version.
DESCRIPTION:
CATEGORY:
File I/O
CALLING SEQUENCE:
reducprmt,infofile
INPUTS:
infofile - Reductor info file.
OPTIONAL INPUT PARAMETERS:
KEYWORD INPUT PARAMETERS:
RDNOISE - This sets the value of the read noise parameter
on line 5 when promoting the file. Otherwise,
the user is prompted for the value.
GUI- Flag, if set use modal widget to prompt for rdnoise.
OUTPUTS:
The info file is updated to the most recent version. Not changed if already
current.
The following formats are supported:
v1.0 Version line at the start: REDUCTOR v1.0
line 5 contains the photometry extraction parameters,
Object radius, inner sky, outer sky, gain.
v1.1 Version line at the start: REDUCTOR v1.1
line 5 contains the photometry extraction parameters,
Object radius, inner sky, outer sky, gain, readout noise.
KEYWORD OUTPUT PARAMETERS:
COMMON BLOCKS:
SIDE EFFECTS:
RESTRICTIONS:
PROCEDURE:
MODIFICATION HISTORY:
2006/06/22, Written by Peter L. Collins, Lowell Observatory
2006/08/26, PLC, modified to prompt for rdnoise if it is
undefined, using qinput for this if /GUI.
2006/08/28, PLC, modified for instrument defaults.
2006/10/19, PLC, changed pccd rdnoise default to match reductor.