astroplan
astroplan copied to clipboard
adding additional time constraint between observations?
Hello!
I was wondering if there was a way to add a time constraint between observations of different objects, i.e. adding a fixed amount of time on top of the slew rate? There is some telescope/observatory overhead that is not related to read_out nor the slew_rate. I'm assuming this would go into "Transitioner". I thought at first that time_resolution would do the trick, but I think I'm misinterpreting what time_resolution does (i.e. if I set time_resolution = 500*u.second, it doesn't seem to add 500 seconds between observations).
Thanks in advance! Amanda
Hello! Any chance I could get an answer/help with this please?
Hi @amendochka, sorry for the silence. Can you give a more concrete or code example using the Transitioner that didn't work as per the example here:
from astroplan.scheduling import Transitioner
# Initialize a transitioner object with the slew rate and/or the
# duration of other transitions (e.g. filter changes)
slew_rate = .8*u.deg/u.second
transitioner = Transitioner(slew_rate,
{'filter':{('B','G'): 10*u.second,
('G','R'): 10*u.second,
'default': 30*u.second}})
I guess I'm wondering if you have overhead that doesn't somehow fit into the default
transition time available via the configuration-switcher dictionary?
It doesn't fit in the default transition time in the sense that the overhead doesn't exist between filters, just between observations. My setup looks the same as what you posted (with different values for slew_rate, filter transition, etc.)--I just took from the example.
TBH I haven't worked with the Transitioner
much, by my understanding is that there is no magic to the "filter"
keyword there. So you could:
transitioner = Transitioner(slew_rate,
{'filter':{('B','G'): 10*u.second,
('G','R'): 10*u.second,
'default': 30*u.second},
{'other-overhead':{'default': 90*u.second}})
Although in writing that it seems like you would want to control the order.
oh cool! I will try that out, thank you!