Sequences for LRGB Stefan Berg Nighttime Imaging 'N' Astronomy (N.I.N.A. / NINA) · Tony Gondola · ... · 20 · 592 · 1

Gondola 8.11
...
· 
·  Share link
I'm making the switch to mono imaging and realized that the sequences needed just got a lot more complicated. I'm looking for an example that uses filter offsets and does a center after drift command loop during each filter exposure. This would be for LRGB.
Like
frankz 4.07
...
· 
·  1 like
·  Share link
This is what I do, in pseudo-code. You may want to add other triggers as needed (e.g., autofocus after a certain time or after HFR change)

Initial setup (slew, cool camera, autofocus, etc.)
Repeat until desired:
    Triggers:
        - Meridian Flip
        - Center After Drift
    L:
        - Switch filter to L (includes focus change if you use filter offsets)
        - Repeat for 6 times:
            - Move focuser by temperature
            - Take X/2-minute exposure
    R:
        - Switch filter to R (includes focus change if you use filter offsets)
        - Move focuser by temperature
        - Take X-minute exposure
    G:
        - Switch filter to G (includes focus change if you use filter offsets)
        - Move focuser by temperature
        - Take X-minute exposure
    B:
        - Switch filter to B (includes focus change if you use filter offsets)
        - Move focuser by temperature
        - Take X-minute exposure
    Dither
Edited ...
Like
Brian_Fowler 1.20
...
· 
·  2 likes
·  Share link
This video is a few years old, but it is still applicable and is what I base all of my sequences from.  

https://youtu.be/Gcekn0lw2IY?si=5h5O3Bb-w3X4WDSx
Like
Eyes_beyond_the_Sky 1.91
...
· 
·  1 like
·  Share link
I am using TS in NINA but if you are using the advanced sequence, set "Center after Drift" in the trigger above your imaging instructions with the number of each taken lights per filter; if you take 3 subs per L/R/G/B, set it to evaluate every 3 images. For the imaging, use smart exposures and set the amount per filter, set the dither to Zero and below the 4 exposure lines, add the dither command so that the sequence runs through all 4 filters, then dithers once before returning back to the first filter.
Of course you may need to add further information in the trigger section at your liking, such as MF, AF etc.  - Cheers and good luck
image.png
Like
Paul.Puntin 3.31
...
· 
·  5 likes
·  Share link
PatriotAstro has some sequencer templates that you can download and customise. They will do what you require as regards filter offsets and centre after drift https://patriotastro.com/nina-advanced-sequence-downloads/
Like
Bennich 5.02
...
· 
·  4 likes
·  Share link
+1 for the Patriot Astro templates 💪
Like
Linwood 6.06
...
· 
·  2 likes
·  Share link
Do you guide?   If not, ignore this posting.

One thing to consider if you want to improve efficiency is whether your rig can handle focus offsets while continuing to guide.  In other words, if you are guiding and imaging red, then switch filters to blue, can you continue guiding while that occurs? 

In most cases the answer is "no", so you need to stop and restart guiding.  Why "no"?  Because a filter offset (especially if backlash is involved) moves the focuser, and most focusers are not perfect in staying precisely aligned during movement – they will shift the field of view an arc second or a few from that motion.  Which will either cause guiding to loose the star, or more likely to know it moved and start chasing it.  You can partially offset this with some kind of delay, but in reality what you need is a "settle" before you start the next exposure or the impact of chasing the guide star causes a star trail. 

So for most cases you want to build a sequence like this: 

- Shoot 20 red exposures, dithering every 2
- stop guiding
- Change filter
- Start guiding
- Shoot 20 Blue exposures, dithering every 2
- etc
- loop

Note that NINA can handle the stop/start guiding automatically. 

If you have something like a nitecrawler (which are super accurate) and find that changing filers does NOT cause a guide star shift, then it's more efficient to do this:

- Shoot 2 red
- Shoot 2 green
- Shoot 2 blue
- Shoot 2 Luminance 
- Dither
- loop

And NOT have NINA stop/start guiding for filter changes. 

This never stops guiding, and moves the dither to every 8 instead of every 2 (because you don't need to dither between colors).  It's very efficient but only if your rig can do it.  Most cannot.

The recenter after drift is just a trigger somewhere after the  DSO target, nothing special.  I'd also add restart guiding as a trigger. 

I didn't follow any of the first postings temperature change stuff.  I recommend using multiple auto-focus triggers, including large temperature change (if you have a probe), after time, and after HFR change, and maybe just in case every  90 minutes or some such. 

Linwood
Like
frankz 4.07
...
· 
·  Share link
Linwood Ferguson:
You can partially offset this with some kind of delay, but in reality what you need is a "settle" before you start the next exposure or the impact of chasing the guide star causes a star trail.

+1 on this! Stefan Berg's "PHD2 Tools" plug-in has introduced a "Settle Before Exposure" trigger precisely for this scenario.
Like
Gondola 8.11
Topic starter
...
· 
·  Share link
Excellent, just the info I'm looking for. Taking everything together, here's what I've come up with:

Beginning Sequence:

wait for time
unpark scope
cool camera

Main Instructions:

set target
slew and center
start guiding

Imaging Loop:  (note, repeat for each filter)

Triggers - meridian flip, center after drift, restore guiding, AF after HFR increase
Loop Conditions - loop for iterations
Instructions - smart exposure

End Sequence:
park scope
warm camera


The repeated imaging loop takes a single smart exposure checks the triggers and the iterations and makes the next exposure an so on. Once that imaging loop is done it goes to the next with the only change being the filter.
Like
Linwood 6.06
...
· 
·  1 like
·  Share link
Francesco Meschia:
Linwood Ferguson:
You can partially offset this with some kind of delay, but in reality what you need is a "settle" before you start the next exposure or the impact of chasing the guide star causes a star trail.

+1 on this! Stefan Berg's "PHD2 Tools" plug-in has introduced a "Settle Before Exposure" trigger precisely for this scenario.

I saw that and then promptly forgot about it.  I need to put that in.

I was so happy to see the exposure time setting, it's nice to be able to do this in a setup routine to get calibrated.   Makes it go SOOO Much faster (well, approximately 4 times): 

set exposure = 1s
start guiding, force calibration
stop guiding
set exposure = 4s (or whatever you usually use) 

LOTS of good stuff in plugins; hard to remember all the good things.
Like
Gondola 8.11
Topic starter
...
· 
·  Share link
Linwood Ferguson:
Do you guide?   If not, ignore this posting.

One thing to consider if you want to improve efficiency is whether your rig can handle focus offsets while continuing to guide.  In other words, if you are guiding and imaging red, then switch filters to blue, can you continue guiding while that occurs? 

In most cases the answer is "no", so you need to stop and restart guiding.  Why "no"?  Because a filter offset (especially if backlash is involved) moves the focuser, and most focusers are not perfect in staying precisely aligned during movement -- they will shift the field of view an arc second or a few from that motion.  Which will either cause guiding to loose the star, or more likely to know it moved and start chasing it.  You can partially offset this with some kind of delay, but in reality what you need is a "settle" before you start the next exposure or the impact of chasing the guide star causes a star trail. 

So for most cases you want to build a sequence like this: 

- Shoot 20 red exposures, dithering every 2
- stop guiding
- Change filter
- Start guiding
- Shoot 20 Blue exposures, dithering every 2
- etc
- loop

Note that NINA can handle the stop/start guiding automatically. 

If you have something like a nitecrawler (which are super accurate) and find that changing filers does NOT cause a guide star shift, then it's more efficient to do this:

- Shoot 2 red
- Shoot 2 green
- Shoot 2 blue
- Shoot 2 Luminance 
- Dither
- loop

And NOT have NINA stop/start guiding for filter changes. 

This never stops guiding, and moves the dither to every 8 instead of every 2 (because you don't need to dither between colors).  It's very efficient but only if your rig can do it.  Most cannot.

The recenter after drift is just a trigger somewhere after the  DSO target, nothing special.  I'd also add restart guiding as a trigger. 

I didn't follow any of the first postings temperature change stuff.  I recommend using multiple auto-focus triggers, including large temperature change (if you have a probe), after time, and after HFR change, and maybe just in case every  90 minutes or some such. 

Linwood

I do guide but with a separate guide scope so I don't think the above would apply.
Like
Linwood 6.06
...
· 
·  Share link
Tony Gondola:
The repeated imaging loop takes a single smart exposure checks the triggers and the iterations and makes the next exposure an so on. Once that imaging loop is done it goes to the next with the only change being the filter.


While there's nothing wrong with this, it's more complicated than you may need.  THe smart exposure is itself a built in loop.   Unless you are doing something special in those, you can just do this inside one loop:

Smart exposure X for red (dither every Y)
smart exposure X for green (dither every Y)
etc. 

At least I didn't notice anything special you were doing to have a loop for each filter.
Like
Linwood 6.06
...
· 
·  Share link
Tony Gondola:
I do guide but with a separate guide scope so I don't think the above would apply.

You are absolutely correct.  I've been using an OAG so long I tend to forget that there is an alternative (I even own a nice one, sitting on my shelf). 

Yes, you can just keep guiding, of course.
Like
phtnnz 0.00
...
· 
·  Share link
Hi Tony,
here the standard LRGB *target* sequence (for open/globular clusters) we're using at our remote telescopes:
https://github.com/phtnnz/astro/blob/main/NINA-Templates-IAS-Common/Target%20LRGB%20stars%20(Discord).template.json
Like
Gondola 8.11
Topic starter
...
· 
·  Share link
Linwood Ferguson:
Tony Gondola:
The repeated imaging loop takes a single smart exposure checks the triggers and the iterations and makes the next exposure an so on. Once that imaging loop is done it goes to the next with the only change being the filter.


While there's nothing wrong with this, it's more complicated than you may need.  THe smart exposure is itself a built in loop.   Unless you are doing something special in those, you can just do this inside one loop:

Smart exposure X for red (dither every Y)
smart exposure X for green (dither every Y)
etc. 

At least I didn't notice anything special you were doing to have a loop for each filter.

Check me on this but it's my understanding that I can't check for triggers while a smart exposure is in progress. In other words, if I start a smart exposure that's set for 120 exposures the triggers won't be checked until after the 120 exposures are complete. That's why I'm setting each smart exposure to one, so that triggers are checked after each each single exposure.
Like
Linwood 6.06
...
· 
·  Share link
Tony Gondola:
Check me on this but it's my understanding that I can't check for triggers while a smart exposure is in progress. In other words, if I start a smart exposure that's set for 120 exposures the triggers won't be checked until after the 120 exposures are complete. That's why I'm setting each smart exposure to one, so that triggers are checked after each each single exposure.


No, the smart exposure acts like a nested loop, so the triggers will be checked after each individual exposure (and the loop conditions are checked in real time, e.g. if a timer expires or an unsafe condition (if you use that trigger) occurs in the middle of an exposure the exposure is aborted.

Triggers do not only affect the loop they are in, but any loop included inside the trigger's loop.
Edited ...
Like
Gondola 8.11
Topic starter
...
· 
·  Share link
Linwood Ferguson:
Tony Gondola:
Check me on this but it's my understanding that I can't check for triggers while a smart exposure is in progress. In other words, if I start a smart exposure that's set for 120 exposures the triggers won't be checked until after the 120 exposures are complete. That's why I'm setting each smart exposure to one, so that triggers are checked after each each single exposure.


No, the smart exposure acts like a nested loop, so the triggers will be checked after each individual exposure (and the loop conditions are checked in real time, e.g. if a timer expires or an unsafe condition (if you use that trigger) occurs in the middle of an exposure the exposure is aborted.

Triggers do not only affect the loop they are in, but any loop included inside the trigger's loop.

Ahhhhh, that helps me a bunch!
Like
sgthebert 2.81
...
· 
·  Share link
Like others have mentionned before, I highly recommend PatriotAstro sequences as a starting point.
He even include instruction on how to set it up
Like
Gondola 8.11
Topic starter
...
· 
·  Share link
Tony Gondola:
Linwood Ferguson:
Tony Gondola:
Check me on this but it's my understanding that I can't check for triggers while a smart exposure is in progress. In other words, if I start a smart exposure that's set for 120 exposures the triggers won't be checked until after the 120 exposures are complete. That's why I'm setting each smart exposure to one, so that triggers are checked after each each single exposure.


No, the smart exposure acts like a nested loop, so the triggers will be checked after each individual exposure (and the loop conditions are checked in real time, e.g. if a timer expires or an unsafe condition (if you use that trigger) occurs in the middle of an exposure the exposure is aborted.

Triggers do not only affect the loop they are in, but any loop included inside the trigger's loop.

Ahhhhh, that helps me a bunch!

So in that case I can simplify the imaging loop it to this:

Imaging Loop:

Triggers - meridian flip, center after drift, restore guiding

Loop Conditions - none

smart exposure - xxx red
smart exposure - xxx green
smart exposure - xxx blue
smart exposure - xxx lum


Each smart exposure will run for a specified number of exposures and will check the triggers between each exposure?
Like
Linwood 6.06
...
· 
·  Share link
Tony Gondola:
Each smart exposure will run for a specified number of exposures and will check the triggers between each exposure?


Yes. 

Don't forget dithering either on each or as a separate trigger (I think there is one). 

I'd recommend time constraints on the loop of some sort, either for dark conditions, target altitude or both. 

I'd also recommend focus triggers, such as after-hfr, after-time, after-temp-change or some combination.

If you have a safety monitor that would be a loop condition as well to loop-while-safe.
Like
Gondola 8.11
Topic starter
...
· 
·  Share link
Yes, I left those things out for the sake of simplicity, will be added as needed now that I understand the general concept.
Like
 
Register or login to create to post a reply.