sot / sparkles

ACA review of star catalogs from proseco
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Tweaks to sparkles / yoshi based on cycle 24 work #173

Closed taldcroft closed 2 years ago

taldcroft commented 2 years ago

Description

This PR has a few small updates which facilitate the feasibility studies of cycle 24 proposed targets.

Interface impacts

roll_dev arg to AcaReviewTable.get_roll_intervals() method is now deprecated and will raise a FutureWarning if supplied.

Testing

Unit tests

Independent check of unit tests by Jean

Functional tests

Works with https://gist.github.com/taldcroft/92d6d92ed80316a9a66dffbf9379eb52.

jeanconn commented 2 years ago

Should it also just get the target name if available in get_yoshi_params_from_ocat?

taldcroft commented 2 years ago

Should it also just get the target name if available in get_yoshi_params_from_ocat?

Yes, done.

taldcroft commented 2 years ago

@jeanconn - I fixed the issues you noted.

jeanconn commented 2 years ago

Thanks. I also ran this on the somewhat stressing case of obsid 17892 which has no target name. Did not cause any errors or issues with output. I note that in general that convert_yoshi_to_proseco_params doesn't behave well for old observations (< 2012) because chandra_aca.drift complains that the dynamic stuff doesn't work for historical observations that old. But that's not an issue for this code and not an issue for the way we are likely to use sparkles.