You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@forero In #207 (see especially #207 (comment)) after some discussion it was decided to not include OBSCONDITIONS in the mock targets catalog, since this is something that should be computed by the MTL on the fly.
However, in 83627e2 and f43aa0e you added this back in. (Mea culpa that I didn't ask this question sooner, since I was the reviewer on that PR!)
Perhaps @sbailey can weigh in as well, but should OBSCONDITIONS be in there or no?
The text was updated successfully, but these errors were encountered:
OBSCONDITIONS is a bitmask of allowable observing conditions for a given target, which should be completely derivable from the targeting bits themselves. Having it in the targeting table itself may seem convenient, but it would be better to not have it in the table and provide utility functions instead, in case we change our mind about which bits are allowable under what conditions (then we just update targets.yaml instead of having to release a new targeting catalog just to update that column). e.g.
defget_obsconditions(desi_target):
'''returns obsconditions mask for input array of desi_target targeting bits desi_target can be int or array-like; return value matches dimensionality '''
...
defok_obsconditions(desi_target, conditions_mask):
'''check whether desi_target can be observed under conditions_mask conditions_mask is int; desi_target can be int or array-like; return value matches dimensionality of desi_target '''
...
@forero In #207 (see especially #207 (comment)) after some discussion it was decided to not include
OBSCONDITIONS
in the mock targets catalog, since this is something that should be computed by the MTL on the fly.However, in 83627e2 and f43aa0e you added this back in. (Mea culpa that I didn't ask this question sooner, since I was the reviewer on that PR!)
Perhaps @sbailey can weigh in as well, but should
OBSCONDITIONS
be in there or no?The text was updated successfully, but these errors were encountered: