jjtobin / auto_selfcal

MIT License
17 stars 8 forks source link

Add the option to run findcont prior to selfcal #32

Closed psheehan closed 8 months ago

psheehan commented 9 months ago

This PR adds the ability to run findcont prior to running self-calibration. This is particularly useful for the case where multi-object tracks had mitigation done such that not all targets had findcont run on them and therefore do not have continuum ranges. The parameters set to avoid mitigation are somewhat arbitrary and may need to be updated at some point, but are intended to allow lots of products of up to a relatively large size. They may not help large mosaics that failed because the cubes themselves were just too large.

psheehan commented 9 months ago

Ok, @jjtobin , I've added the additional checks that you suggested above. Take a look and let me know what you think?

psheehan commented 8 months ago

Ok, added a check for whether the pipeline was imported, and if not it now imports it!