Live stacking per X frames looped

Somewhere to ask questions about the best way to use SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Post Reply
libmar96
Posts: 12
Joined: Tue Feb 14, 2017 7:02 pm

Live stacking per X frames looped

#1

Post by libmar96 »

Hello,
I have some questions related to SharpCap software - I can't remember if those are possible. These are some basic questions, but I don't have my camera and the moment. I would like to prepare a plan for next projects and I would like to know a little faster if I can go this way :)

Is it possible to make 10-frames stacks with average calculation looped? In photometry, I often use short exposure frames, so I would have prepared 10x binned frames too for a fast check if I have detected what I wanted. I can't use summed function, as it doesn't support another software due to overexposured stars or even background. For example, I run 2s exposure frames, so except 10000x frames 2s each, I would also have 1000 stacks of 10x2s each.

There's also a "Frame stack (10)" option too which would work (probably, if it actually save?), but it actually sums up, so I can't use.
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Live stacking per X frames looped

#2

Post by admin »

Hi,

the frame stack options do summing (as you note) and also only affect the displayed frame, so are not going to help you even if they did average.

Live stacking also sums, but in 32 bit numbers, so no problem with hitting saturation, but there is no built in way to save and reset after 10 frames. It may be possible to do this using the built in Python scripting if you are interested in that sort of thing. That would require some code using

Code: Select all

SharpCap.Transforms.SelectedTransform.FrameTransform.StackedFrames

Code: Select all

SharpCap.Transforms.SelectedTransform.FrameTransform.Reset()

Code: Select all

SharpCap.Transforms.SelectedTransform.FrameTransform.SaveFrame(32, False)
The problem here is that the last call (which saves the stack to a 32 bit fits with no processing) has no way for the scripting to control or get the filename - I can easily fix that though if you are interested in this approach.

cheers,

Robin
libmar96
Posts: 12
Joined: Tue Feb 14, 2017 7:02 pm

Re: Live stacking per X frames looped

#3

Post by libmar96 »

Yes, please. This could be extremely useful for CMOS in photometry of bright stars, reaching accuracy <0.01 mag of measurements easier than before.
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Live stacking per X frames looped

#4

Post by admin »

Done in the next version.

Code: Select all

SharpCap.Transforms.SelectedTransform.FrameProcessor.SaveFrame(32, "c:\\temp\\test.fits")
cheers,

Robin
Post Reply