Open rremigio opened 11 months ago
This may be possible soon. I am working on spectral extractions in datacubes. So, we could compute_weights based on spec1d extractions, or possibly just a better automated location to select compute_weights to avoid outliers. If you're interested @rremigio, the branch I'm currently developing on is kcwi_cube_updates
As of right now, the core.datacube.compute_weights() routine that is called during the creation of a datacube computes weights by extracting a spectrum from the single brightest pixel from the white light image.
Requesting that an option to specify the source location (perhaps in RA, DEC) as well as a spatial extraction window (in arcseconds?) for core.datacube.compute_weights().