Search found 156 matches

by lowenthalm
Fri May 10, 2024 10:48 pm
Forum: How do I?
Topic: Exclude outlier pixel values when creating master dark frame
Replies: 3
Views: 146

Re: Exclude outlier pixel values when creating master dark frame

This is a good idea to suppress cosmic ray hits and such. I had a couple of cases before this feature was added where i think a single frame just had complete data corruption for a 10th of the frame. Would this be enough to causes the data in the frame to be suppressed?
by lowenthalm
Fri May 10, 2024 3:30 am
Forum: How do I?
Topic: Exclude outlier pixel values when creating master dark frame
Replies: 3
Views: 146

Exclude outlier pixel values when creating master dark frame

I saw this new feature in the release last week. Very cool. I had just run scripts a few weeks earlier to capture an all new -10C and -15C dark library for my 2024 observing season and found only two out of 64 were bad. Oddly enough, they both occurred in the longest bin 2 (1 and 2 minute subs) that...
by lowenthalm
Tue May 07, 2024 11:00 pm
Forum: Bug Reports
Topic: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0
Replies: 14
Views: 2131

Re: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0

I finished updating my code for the newer version of SharpCap. It looks like all the important stuff I needed in live stack is available in SharpCapInstall-4.1.12100.0 and my code all works. Thanks for adding this stuff back in!
by lowenthalm
Mon Apr 29, 2024 7:24 pm
Forum: Bug Reports
Topic: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0
Replies: 14
Views: 2131

Re: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0

I'm a bit scared that you were digging into the UI via LiveStacking.GetControl() - top marks for finding that you could do that, but it definitely wasn't supposed to be accessible to scripting :( I'm almost afraid to ask what things you were adjusting via that approach! cheers, Robin I haven't been...
by lowenthalm
Sat Apr 27, 2024 6:25 pm
Forum: Bug Reports
Topic: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0
Replies: 14
Views: 2131

Re: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0

I have been testing version 4.1.12100.0 and trying to figure out how to access any of the live stacking controls. All of the automations scripts I have written rely on access to these controls. I have been trying to get in through code like: lsc = SharpCap.LiveStacking.GetControl() ctlcol = lsc.Cont...
by lowenthalm
Thu Apr 25, 2024 4:36 am
Forum: How do I?
Topic: Passing parameters to Python scripts from sequences
Replies: 5
Views: 356

Re: Passing parameters to Python scripts from sequences

I had looked for the notes control, but didn't see it in the drop down so had abandoned the idea and stuck with the target name field! The idea for embedding a line of Python code in the sequence would be very useful. I have a bunch of single line python script files that look like this: MDLAutoDark...
by lowenthalm
Wed Apr 24, 2024 3:38 am
Forum: How do I?
Topic: Passing parameters to Python scripts from sequences
Replies: 5
Views: 356

Re: Passing parameters to Python scripts from sequences

I see, of course. The Python environment needs to be kept running to maintain its state and all the objects created by startup scripts. As an example, I have multiple script snippets to set certain interface elements in live-stack to different values, depending on what I want to do. If there was som...
by lowenthalm
Mon Apr 22, 2024 7:20 pm
Forum: How do I?
Topic: Passing parameters to Python scripts from sequences
Replies: 5
Views: 356

Passing parameters to Python scripts from sequences

There doesn't seem to be anyway to pass a command line parameter to a python script that is called from a SharpCap sequence. I even tried quoting the path to the script in the sequence and that added a parameter, but SC just treats the whole thing including quotes as the path, so it fails. The only ...
by lowenthalm
Mon Apr 22, 2024 6:20 pm
Forum: Bug Reports
Topic: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0
Replies: 14
Views: 2131

Re: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0

Thanks! I have been scouring through my scripts, and found a few more missing objects I missed in my last post: SharpCap.LiveStacking.SaveRawFrames = SharpCap.LiveStacking.SaveRawFrames.WhileNotPausedOrDithering SharpCap.LiveStacking.SaveRawFrames = 0 and SharpCap.LiveStacking.GetFilenameForSaveWith...
by lowenthalm
Mon Apr 22, 2024 4:19 am
Forum: Bug Reports
Topic: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0
Replies: 14
Views: 2131

Re: My Python scripts broke between 4.1.11137.0 and 4.1.12025.0

It appears that the assignment: SharpCap.Focusers.SelectedFocuser.Position = new_position works as a replacement for Move( pos ). I believe I may have tried to assign to the focuser field .value, which maybe doesn't always work. Luckily, it turns out I had the use of Move localized to one function s...