Stacking FLATS multiple nights

Discuss how you are able to get those fantastic images!!!
Post Reply
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Stacking FLATS multiple nights

#1

Post by Baskevo »


Hi yall,

Quick question: I'm going to be stacking from multiple nights, and I took flats/dark flats on each night. If I run Pixinsight's Weighted batch PP script, can I just throw in all the frames as if I were stacking one night? Or do I have to manually calibrate each night's light frames with that nights flat frames?

Thanks in advance!
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
User avatar
JimMinCT United States of America
Saturn Ambassador
Articles: 0
Offline
Posts: 393
Joined: Tue May 07, 2019 10:24 pm
4
Location: Ct
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#2

Post by JimMinCT »


Did you change the optical train in any way? If so, then yes, you have to shoot each night and calibrate separately.
If your setup doesn't change from night to night, you can usually get away with a single batch.
OTA's: Kson 1026-C, 4" Carbon Fiber ED Refractor, Home-built, 6.1", f/2.? APO refractor... (In Progress) 8" Meade LX2 SCT Mounts: CGX Imaging: ZWO ASI 1600MM, Canon 550D (T2i) Software: PixInsight, APT, PHD2, SharpCap, SGP, Stellarium, Registax, Stuff: Astro-Tech 0.8x FR/FF, Hotech SCA FF, ZWO 7nm 31mm LRGB-SHO filter set, ZWO 8 position EFWObsy: "Maybe Spaceship" Observatory
Image
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#3

Post by Baskevo »


JimMinCT wrote: Tue Jan 07, 2020 2:22 pm Did you change the optical train in any way? If so, then yes, you have to shoot each night and calibrate separately.
If your setup doesn't change from night to night, you can usually get away with a single batch.
Well I tried not to change anything, but I noticed some vignetting in the last night, which I didn't notice in the first night... so I think just to be safe I will calibrate them separately.

So can I just run each night and each filter separately through the batch processing script, and select 'calibrate only'? And then run everything together through again with the integration? Or do I have to create all the master darks, flats, and dark flats, calibrate, and integrate myself?
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
User avatar
JimMinCT United States of America
Saturn Ambassador
Articles: 0
Offline
Posts: 393
Joined: Tue May 07, 2019 10:24 pm
4
Location: Ct
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#4

Post by JimMinCT »


That's what I do. Calibrate the flats, darks and bias frames using the BPP script, and then manually finish using the calibration, registration, and integration tools.
OTA's: Kson 1026-C, 4" Carbon Fiber ED Refractor, Home-built, 6.1", f/2.? APO refractor... (In Progress) 8" Meade LX2 SCT Mounts: CGX Imaging: ZWO ASI 1600MM, Canon 550D (T2i) Software: PixInsight, APT, PHD2, SharpCap, SGP, Stellarium, Registax, Stuff: Astro-Tech 0.8x FR/FF, Hotech SCA FF, ZWO 7nm 31mm LRGB-SHO filter set, ZWO 8 position EFWObsy: "Maybe Spaceship" Observatory
Image
User avatar
UlteriorModem
Local Group Ambassador
Articles: 0
Offline
Posts: 2112
Joined: Sat May 11, 2019 1:32 am
4
Location: Florida
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#5

Post by UlteriorModem »


Yea to be safe they should be calibrated separately. But frankly if you do not change your camera orientation, filters, optical assembly it would probably be fine.

The dust motes will probably rotate with the camera so in that aspect rotation is irrelevant. However if you have any vigenetting that will NOT rotate with the camera. So if the camera is rotated between sessions, even by a few degrees, it will cause minor issues.

The main thing is the camera orientation. I put masking tape on all the rotating parts of my optical train. Mark them with a marker as an index. Then slice the tape where things come apart. This way I can get the camera in the same orientation consistently and dont have to worry about shooting flats every session.

Just create one master flat and use that for a while until something changes.
Tom

Current Equipment:
Mount: Celestron CGX-L
Scope: 130mm f7 APO
Cam: ASI071mc-pro
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#6

Post by Baskevo »


Thanks guys. I'm going to calibrate separately just to be safe :) My field flattener likes to slip out of the focuser collar a tiny bit, so I'm sure it is rotated a little bit when I have to push it back in even though I put it back in the same spot.
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#7

Post by Baskevo »


I have to run through the calibration 8 times T.T lol

So after I run through the calibration in WBPP script and I have my calibrated light frames, do I run through WBPP again and just not load the flats, darks, and dark flats, and deselect 'calibrate only'? Or should I run it through with dark frames again? Or should I just load up all of the calibration frames with the calibrated light frames? lol this can get complicated
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
User avatar
UlteriorModem
Local Group Ambassador
Articles: 0
Offline
Posts: 2112
Joined: Sat May 11, 2019 1:32 am
4
Location: Florida
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#8

Post by UlteriorModem »


Not following you. If your batch processing you load the matching lights, darks, bias, and flats and let it do its thing, just don't register them.

Once you have Your calibrated output for each matched set, run star alignment, registration on the lot of them register them to one another.

Once you have the registered output run image integration.
Tom

Current Equipment:
Mount: Celestron CGX-L
Scope: 130mm f7 APO
Cam: ASI071mc-pro
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#9

Post by Baskevo »


So I'm running the calibration only through batch processing, right? It outputs to a calibrated lights folder. Now I need to register and integrate the files. I want to throw the calibrated lights back into weighted batch PP script. When I load the calibrated light frames in the WBPP script (because I want the weights) to register and stack the frames, do I reload the calibration frames (darks, flats, etc) along with the already-calibrated light frames? Or, do I ONLY load the already-calibrated light frames in the WBPP script, without any calibration frames, to register and stack the frames?

If that doesn't make sense, let me explain what I'm doing.
I have about 4 nights of data, 3 different filters.
Each night, I ran a separate set of flats and dark flats for each filter.

so I calibrate only with the Ha light frames, flats, dark flats, and darks. It outputs the calibrated light frames. Now, I want to register and stack WITH the WBPP script, for the functionality of the script. Do I reload the calibrated light frames to register and integrate in the WBPP script WITHOUT the calibration frames, because I've already calibrated and don't need them anymore? Or is there a benefit and/or need to reload the calibration frames with the newly-calibrated Ha light frames?
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
User avatar
UlteriorModem
Local Group Ambassador
Articles: 0
Offline
Posts: 2112
Joined: Sat May 11, 2019 1:32 am
4
Location: Florida
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#10

Post by UlteriorModem »


Just have the BPP calibrate the matching frames or run the calibration process and skip the script, then use star alignment process on them (not the script), once registered stack them.

I know the script is handy but it seems like it is complicating things for you with all the different data sets.
Tom

Current Equipment:
Mount: Celestron CGX-L
Scope: 130mm f7 APO
Cam: ASI071mc-pro
User avatar
JimMinCT United States of America
Saturn Ambassador
Articles: 0
Offline
Posts: 393
Joined: Tue May 07, 2019 10:24 pm
4
Location: Ct
Status:
Offline

TSS Awards Badges

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#11

Post by JimMinCT »


The key difference here is not to use the script the final time.
Register and integrate using the respective tools, not the script.
OTA's: Kson 1026-C, 4" Carbon Fiber ED Refractor, Home-built, 6.1", f/2.? APO refractor... (In Progress) 8" Meade LX2 SCT Mounts: CGX Imaging: ZWO ASI 1600MM, Canon 550D (T2i) Software: PixInsight, APT, PHD2, SharpCap, SGP, Stellarium, Registax, Stuff: Astro-Tech 0.8x FR/FF, Hotech SCA FF, ZWO 7nm 31mm LRGB-SHO filter set, ZWO 8 position EFWObsy: "Maybe Spaceship" Observatory
Image
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#12

Post by Baskevo »


Hmm... so I would have to do the weighting myself with the subframe selector process?

I don't know, I feel like there is a way to do it... If I don't add the calibration frames on the second time through and unselect "calibrate only" so it registers and integrates WITH the weights (which is my whole reason for using the script), then shouldn't it just skip the calibration? I'm going to try it... I'll let you know how it goes
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
User avatar
Stuart United States of America
Jupiter Ambassador
Articles: 0
Offline
Posts: 247
Joined: Sat Jun 01, 2019 11:12 pm
4
Location: East Bay, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#13

Post by Stuart »


Try it both ways and see what you get.
Personal equipment: TEC 140 F7 on Astro-Physics Mach 1 mount. Camera QSI 683ws7. Guide with Vario guiding scope
Shared equipment through Star Shadows Remote Observatory through PROMPT/ CTIO/Chile 16" RCOS 16803 chip
Shared equipment through San Diego Astronomy Society 14" RC with 16803 chip on a paramount
Software (for my stuff) PemPRO, SGP, PHD, Focus Boss, ASCOM, and Pixinsight on the other end.
User avatar
Baskevo
Orion Spur Ambassador
Articles: 0
Offline
Posts: 829
Joined: Sun Aug 11, 2019 8:47 am
4
Location: Orange County, California
Status:
Offline

TSS Photo of the Day

Re: Stacking FLATS multiple nights

#14

Post by Baskevo »


Stuart wrote: Wed Jan 08, 2020 5:53 am Try it both ways and see what you get.
Thats a good plan. I have 4 different things to try... I have 2 sets of flats for 3 different filters, 2 different processes... It's gonna be a long night lol
-James W.

Telescope: Explore Scientific 80mm FCD100 Triplet APO Refractor
Mount: EQ6-R Pro
Cameras: ZWO ASI1600mm Pro (Cooled) | Canon DSLR EOS T7i
Auto-guiding: ZWO ASI120mm-Mini + Astromania 50mm Guidescope

Filters: ZWO 31mm Ha/Oiii/Sii 7nm + LRGB | Orion 2" Skyglow Filter
Accessories: Explore Scientific 2" Field Flattener, ZWO EFW 8 Position
Software: APT, SharpCap Pro, PHD2, CPWI | PixInsight, DeepSkyStacker, Photoshop

Flickr: https://www.flickr.com/gp/186194203@N06/18B629
twideman
Earth Ambassador
Articles: 0
Offline
Posts: 1
Joined: Thu Apr 02, 2020 5:36 pm
4
Location: Grapevine, TX, USA
Status:
Offline

Re: Stacking FLATS multiple nights

#15

Post by twideman »


Late to the thread, but found while having the same issue. Here's what I'm doing:

I have a six-panel mosaic, shot on seven nights, L,R,G,B+Ha, even different exposure lengths. Seven sets of flats. Some of the shots (for instance, Lum on panel 3) spanned multiple nights.

I, too, want to take advantage of the WBPP features, especially weighting.

I processed the images using WBPP by each night (i.e. by each flat set), allowing auto selection of registration, everything. I ran WBPP separately for each exposure length as I was using CosmeticCorrection with a dark frame of matching exposure length. I saved the output results to a text file for each mosaic frame, appending more text each time it was generated. This resulted in multiple registration reference frames due to the multiple passes, and registered frames with WBPPWEIGHT data in the FITS headers. Note that these "registered" frames are not registered all together, but to the auto-selected frame for the set for each WBPP pass.

I then went back to the text file and noted which files were chosen as the reference frames from the various WBPP passes. I opened these registered reference frames (the _r version) in PI and looked at the FITS headers for WBPPWEIGHT. For each mosaic frame, I chose the one reference frame with the highest WBPPWEIGHT as I figured it was a safe bet for the entire mosaic frame reference.

I then ran StarAlignment, selecting this one frame as the reference for all exposures for that particular mosaic frame, and selecting the _r (registered) frames from the WBPP output as the input files for alignment. I output to a new "reregistered" folder with suffix _rr, and used these reregistered frames -- which contained WBPPWEIGHT from their initial WBPP pass -- in ImageIntegration to generate the master frames.

So far, works for me... Best of both worlds. Specific flats by night, the ability to span nights, and the chance to use WBPPWEIGHT in ImageIntegration.

I'd love to hear why I'm doing it wrong, as I just kinda sussed this out as a possible solution and would love to hear feedback.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Image processing”