Closed yymao closed 2 years ago
Does "1." take care of all of the instances of "2."?
@wmwv No. There do exist object entries who have non-finite cmodel mag but their nearest truth entry is galaxy type. This mostly happen for faint objects, so it's not related to the originally thread.
Among these objects (i.e., having non-finite cmodel mag but their nearest truth entry is galaxy type), about half of them don't have finite point-source mag either. The remaining has valid point-source mag that can be used to matching.
Thanks @wmwv. Points well taken. Code updated. Ready for re-review.
As discussed in this Slack thread, currently we use cModel mag from the object catalog to calculate magnitude difference when we generate the truth match catalog.
This PR updates this process, and switches to point-source magnitudes if