I’ve been trying to come up with a good way to acquire flat frames for my CMOS camera. I used the Voyager flat wizard to determine appropriate exposure times for each filter. To calibrate out the amp glow, I separately created a master dark for each exposure setting. Since I have a portable setup, I have to take flats at the beginning of each night.
Voyager has made this really easy and convenient: I’ve written a dragscript that cools the camera, opens and turns on the flat panel, acquires flat frames, and then turns off and closes the panel. I kick off this dragscript at the beginning of the evening, just before I start the main imaging sequence. All of this is working great.
But there’s one minor issue: I like to put each night’s flats in a separate directory, which makes it easier to keep track of the files. Currently, the exposure block in the dragscript stores the flats in a folder that reflects the current date, but this requires me to edit the dragscript at the beginning of each session.
Is there a way to avoid editing the dragscript? I couldn’t see a way to generate folder names from the current date in a dragscript. Is that possible?
One alternative would be to write a sequence for the flats, since I can save files in a folder with the current date from a sequence. But from what I understand, this would require creating a sequence with a dummy target, and is generally not the preferred way to take calibration frames with Voyager.
Does anyone have a suggestion for a better solution?