skyportal / gwemopt

Gravitational-wave Electromagnetic Optimization
GNU General Public License v3.0
19 stars 34 forks source link

Different exposure times per filter #150

Open oconnorb opened 11 months ago

oconnorb commented 11 months ago

We note an issue where attempting to use two filters with different exposure times (i.e., --filters g,i --exposuretimes 60.0,100.0) leads to only using the longer exposure time in both the output schedule.dat file and based on the total exposure time and number of tiles observed it appears that the software also does this, and that it is unlikely simply a bug in the output of schedule.dat.

mcoughlin commented 11 months ago

@oconnorb Does it work if the exposuretimes are factors of one another, e.g. 50 and 100?

oconnorb commented 11 months ago

I will try this and get back to you.

oconnorb commented 11 months ago

Using --exposuretimes 50.0,100.0 still leads to the same issue.

e.g., 46 tiles with 44/46 observed at least twice (i.e., both filters) with the total exposure = 2.5 hr (9000 s)

(100 + 100)x44 + 2x100 = 9000 s wheres (100 + 50)x44 + 2x100 = 6800 s

Also just to add I confirmed that the schedule.dat file contains 46+44 = 90 observations all listed with 100 s exposure

Let me know if this doesn't make sense.

mcoughlin commented 11 months ago

@oconnorb @Theodlz @robertdstein it would be great if someone could dig into it a bit to understand how the slots get allocated?