Redistributes fluxes from a lower resolution segmentation map using the sharemat provided by profoundSegimShare
.
profoundShareFlux(segstats = NULL, sharemat = NULL, weights = NULL)
Data.frame, the profoundProFound
segstats output that has been created using the segmentation output by profoundSegimShare
.
Numeric matrix, the sharemat output that has been created by profoundSegimShare
.
Numeric vector; additional weights to modify fluxes by. If provided must be the same length as dim(sharemat)[2] (i.e. the original list of segment properties, not the input segstats).
Data.frame with minimal columns. Many properties cannot be redistributed, so we ignore those here. The few which can are flux, flux_err, mag, mag_err, N50, N90, N100 (see profoundSegimStats
for a discussion of these properties).
This is a high level utility to extract some useful catalogue properties for objects that have disappeared from the segmentation map when degrading the resolution. Since in this case flux is conserved, we have a few option to decide how to redistribute the flux.