# Specify the directory where the raw data files are to be found
datapath ~/data/laboca

# Specify the project-id (case sensitive!)
project T-79.F-0002-2007

# Downsample by 2x to 50Hz...
downsample 2

# Give the conversion factor from uV to Jy that is to be used. In this case
# 1 uV = ? Jy
# Rough calibration on Mars (single scan at 30 deg), assuming 2mm PWV.
jansky 58.3

# Specify the units in which the ouput map should be written. Use 'uV/beam'
# to get uncalibrated data in detector voltage units, or 'Jy/beam' to write
# calibrated data, with the calibration factor defined via the 'jansky' option
# above
unit Jy/beam
#unit uV/beam

# The stability time-scale of the detectors (used only for photometry mode)
stability 30.0

# Set the instrument beam FWHM in arcsec
beam 60.0

# Set the map grid at 1/5 beam, i.e. 12 arcsec
grid 12.0

# Clip data where the scan velocity on the field is outside the allowed range
vclip 60.0 1000.0

# Clip data where the telescope acceleration exceeds 5'/s^2.
aclip 300.0

# Smooth source maps to 20". This is not necessarily the smoothing of the 
# final map, but it is aimed at creating some redundancy in the data, by
# coupling nearby map positions.
#smooth 20.0

# Remove atmospheric gradients
sky
extendedopt forget sky

# Decorrelate on wafer wedges
wafers

# Decorrelate on electronic boxes
#boxes

# Decorrelate on cables (cables are 1:1 with the squid amplifiers)
#cables

# Decorrelate on squid amplifiers
amps

# Decorrelate on horizontal strips. (The FOB is divided into 12 horizontal 
# strips).
#regions

# Smooth the final map by a 9" FWHM Gaussian.
#iteration.last smooth 20.0

# Only make maps from the scans, in the advanced iterations, if the NEFD is 
# within the specified range (in units of 'Jy sqrt(s)')
nefd-range 0.020-0.300
iteration:last-2 nefd-range 0.020--0.100

# Whiten when the spectral amplitudes exceed the critical level over the 
# median.
iteration:last whiten 1.5
