Hi,
in /home/nkonidaris/lamps I've created calibrations.py which has a few functions of relevance:
goto_screen -- points the telescopes to the screen (surely these numbers must need updating).
take_lamps -- Over a for loop of exposure time and lamps this code takes lamps. Note that exposeall doesn't expose sp3, which it should.
powerup -- useful wrapper to startup a spectrograph.
José, you already have a code that does something similar, the only difference is this code messages slack, which is useful if you're going to run off to dinner or something.
calibrations.py also worked around a bug that used to be the case where the archons would suddenly disappear (which we felt had to do with the network), so you'll see that this code takes a lot of measures to reset things if something dies.
Hi,
in
/home/nkonidaris/lampsI've createdcalibrations.pywhich has a few functions of relevance:goto_screen-- points the telescopes to the screen (surely these numbers must need updating).take_lamps-- Over a for loop of exposure time and lamps this code takes lamps. Note thatexposealldoesn't expose sp3, which it should.powerup-- useful wrapper to startup a spectrograph.José, you already have a code that does something similar, the only difference is this code messages slack, which is useful if you're going to run off to dinner or something.
calibrations.pyalso worked around a bug that used to be the case where the archons would suddenly disappear (which we felt had to do with the network), so you'll see that this code takes a lot of measures to reset things if something dies.