A complete set of CCD tests can be obtained, processed and the relevant
web pages updated by typing just two commands, one in BIAS and
one in MIDAS.
Procedure
At FEROS, move the Beta Light into position in front of the FEROS
Camera.
Login on on the BIAS-PC: User "feros", Passwd <see list>.
Start the X server, type:
startx
You should see the desktop looking like this...
Click on the BIAS
button in the button bar on the left of the screen.
Once BIAS is up and running you will see four windows; BIAS Obs DataBase panel, BIAS CCD
CONTROL, BIAS CCD STATUS, and SAOImage bias_ds9, plus
the BIAS CCD LOG window will be iconised). In the BIAS Obs DataBase panel set the
Program Id. == "00.A-0000(A)", PI == "Test", Observer ==
"<Your Initials>". Note: Only ONE instance each of BIAS and the fcu panel can be running at any time. If you
try to start BIASwhile another instance is already running
it will fail with NO warning. If you try to start the fcu panel while another instance is already running
the panel will appear but it will be useless and there will be many
error messages during startup, simply close the panel.
Run the test script(s):
Before beginning note the number in the NEXT_FILE
filename. This will be important later on.
To run the tests for ALL six amplifier/Gain modes, in the BIAS
CCD CONTROL window type:
run
test4ccd-all
To run the test for ONE of the six amplifier/Gain modes,
in BIAS type:
run
<testScript>
where <testScript>
is one of test4ccd.alow
, test4ccd.blow, test4ccd.ablow, test4ccd.ahigh, test4ccd.bhigh, test4ccd.abhigh
To run the test for a subset of the six amplifier/Gain
modes, e.g. all the LOW gain modes:
Open an xterm window on the BIAS PC. Select "Xterm
on BIAS PC" from the "User Menu..." of the desktop Menu (left mouse
button click and hold on the desktop).
Create a new test4ccd script, e.g. in the xterm
type :
Note: it is not necessary to run the FEROS Observing
Environment (OE) on w2p2off, but if you don't after each exposure the
message "Connection to Midas failed" will be written in the BIAS
CCD CONTROLwindow. This is
perfectly normal and NOTHING to worry about.
Note: From the BIAS CCD CONTROLwindow you can
ls the home directory by typing "ls ../../../home/feros". Note:test4ccd-all will
first acquire 2 fullchip bias images, then the 150 CCDTest images (5
biases and 20 flatfields for the six amplifier/gain combinations).
Therefore the number of the first test image will be two greater than
the number in the NEXT_FILE filename noted before starting
the test. Note: If you do NOT run the test4ccd-all test be sure to acquire two fullchip
bias images before beginning the tests, i.e. in BIAS type:
reset
obj
bias
mdark
0 2
Open a NightLog window which will be useful to monitor progress
and eventually check on the file numbers of the images:
Move to a new desktop (Hold the Ctrl key while using the arrow keys
to navigate around the four Desktops, or click with the left mouse
button in the required desktop in the Pager
at the top of the button bar).
Click the NightLog
button in the button bar on the left of the screen.
A log screen will appear.
You may want to resize it to a full screen to make viewing all the
files easier.
Open a CCDTest MIDAS session:
Move to another new desktop.
Click on the CCDTest
button in the button bar on the left of the screen.
A login window will appear.
This is user "e2p2ops" on the BIAS PC (normally pferos1). Enter the
password.
A MIDAS window will appear.
Run the CCDTest analysis program. In the MIDAS window type:
<N1,N2,N3,N4,N5,N6>
== the file numbers for the FIRST image in each test sequence, e.g. 1,26,51,76,101,126.
Check in the log window for the correct starting numbers. The analysis
can be skipped for a given test by putting 0 for the starting image
number. The order of the numbers is not important, for example to
process only three sets of tests 1,26,51,0,0,0 would be
fine, as would 0,0,0,1,26,51
, as would 1,0,26,0,51,0
.
<y/N>
== Yes or No for printing the results. By default the results are NOT
printed.
After reducing all the tests, you will be prompted for the password for
the t2p2web account on Meli so that the results can transfered.
The updated Web Page will be generated for each Amplifier/Gain
Combination. Note:Do Not change the desktop while MIDAS
is reducing the test data as this will cause problems with the
generation of PS files of the images. Note: If there were no
problems with the data acquisition, i.e. the 150 images are named with
the 150 sequential numbers then just the number of the first test image
followed by 5 -1s can be used to specify the numbers, e.g. 1,26,51,76,101,126 could also be written as 1,-1,-1,-1,-1,-1.
Remove the Beta Light and replace the cap.
TroubleShooting
A few problems are known to occur from time to time during the
execution of the CCDTests. Here are descriptions and solutions (if you
come across another problem please email j.pritchard@eso.org
with the details)
BIAS hangs during image
acquisition This problem results when the CCD electronics completes an
exposure faster than the BIAS
software can keep up with, e.g. when the CCD window is particularly
small and a short exposure time, e.g. a 10x10 pixels bias image. Symptom: BIAS CCD
STATUS is "Pending" Cure: The only known cure
is to "kill" BIAS. This can be
done simply by exiting from DS9. Note: This problem often happened during
CCDTests. Hopefully with the reverting of the BIAS PC back to the 400MHz
computer from the 200MHz one, it will happen less often. The network can
also play a big part in this problem, so the best place to run the
CCDTests from is the BIAS-PC itself, rather than w2p2oh, or even worse
at the RITZ. Note:
If this problem does occur, please restart BIAS and then continue with
the CCDTests. If it fails during the first amp/gain combination then
rerun the test4ccd-all script, but otherwise just rerun the amp/gain
combinations for which a complete set of data was not yet completed,
remember the sequence of amp/gain combinations is; blow, alow, ablow,
bhigh, ahigh, abhigh. In this case check the log file (the
file FEROS.<YYYY-MM-DD>.log in the log subdirectory of the feros
user's home directory on the BIAS-PC) carefully to ensure you get the correct
first image number for each amp/gain
combination.
Failure of the Analysis Usually this problem results from either entering the wrong
number for the first image of the test, or because there is an
incomplete data set for a give amp/gain combination. Symptom:
MIDAS reduction and analysis fails. Cure: Check carefully the
log file (the file FEROS.<YYYY-MM-DD>.log in the log subdirectory
of the feros user's home directory on the BIAS-PC) to ensure that you
have the correct first image number for each amp/gain combination and
that each amp/gain combination has 5 bias images and 20 FlatField images.
<N1,N2,N3,N4,N5,N6>
== the file numbers for the FIRST image in each test sequence, e.g. 1,26,51,76,101,126. The
analysis can be skipped for a given test by putting 0 for the starting image
number. The order of the numbers is not important, for example to
process only three sets of tests 1,26,51,0,0,0 would be
fine, as would 0,0,0,1,26,51
, as would 1,0,26,0,51,0. Note: If there were
no problems with the data acquisition, i.e. the 150 images are named
with the 150 sequential numbers then just the number of the first test
image followed by 5 -1s can be used to specify the numbers, e.g. 1,26,51,76,101,126 could also be written as 1,-1,-1,-1,-1,-1.
<y/N>
== Yes or No for printing the results. By default the results are NOT
printed
Overview:
Each of the six numbers provided in P2 is incremented by 24
(to give the number of the LAST image in the test).
The working directory is changed to /data/FEROS/CCDTest.
Each of the six numbers provided in P2 is checked to see if
it is 24 (i.e. was originally 0), if not the MIDAS PRG ferosProcessCCDTestImages
is run with the following command line:
The script ferosCCDTestToMeli
is then run for each Amplifier/Gain combination that was detected. The
user will be prompted for the password for the "t2p2web" account on
Meli. The script also runs via remote shell on Meli the updateY2K script
which updates the web page for each Amplifier/Gain combination. For
each combination there is an opportunity to abort the web page update
in order to manually remove data sets. If this is necessary the
relevant data set(s) should be moved to the directory BadDataSets in
the Amplifier/Gain combination directory (directory may need to be
created if it doesn not already exist). Once this is done the updateY2K
script should be rerun for the Amplifier/Gain combination.