Quote by: jbkikwayaTo correct it do:
1) \$this->_split2($m[0]) epar ccdred
2) Bring the cursor at Instrument field of ccdred parameters
3) insert: home$instrmsc.dat as value of the parameter instrument, knowing that this file instrmsc.dat exists and is located at home
My file instrmsc.dat looks like this:
# This is the instrument translation file for rootpackage.mscred.ccdproc
# For use with the 4kx4kvatt ccd. The VATT4K CCD start at VATT Sept. 2007.
#
exptime EXPTIME
imagetyp IMAGETYP
#subset TELFILTE
subset FILTER
# the ccdred package parameter 'imagetyp' translates to 'IMAGETYP'
# a keyword in the image header.
# Likewise, 'exptime' of ccdred is equivalent to 'EXPTIME' in image header.
# Another kind of translation could be useful. E.g., if 'BIAS' were a value
# found in the image header e.g., 'IMAGETYP' = 'BIAS' then translate
# by putting a line in the translation file:
# BIAS zero
# or maybe:
# "SKY FLAT" flat
# And one can use a third column in the translation file for defaults:
# biassec biassec [2057:2068,1:2048]
# Note that in the "2kvatt.cl" file, biassec can be default overridden by
# redefining it there for the ccdproc processing.
# To test if your translations between information set in the image headers
# and for use in ccdproc is ready, then
# After doing a
# cl\$this->_split2($m[0]) setinstrument.site=""
# cl\$this->_split2($m[0]) setinstrument.dir=""
# cl\$this->_split2($m[0]) setinstrument 2kvatt # you have the 2kvatt.dat
# and 2kvatt.cl files in directory
# then a cl\$this->_split2($m[0]) ccdlist files.imh should show if your translations are
# correct and active.
4) quit with :q (enter)