Deblending

class odhin.Deblending(group, conf, imLabel)[source]

Bases: object

Main class for deblending process

Parameters
cubempdaf Cube

The Cube object to be deblended

nbandsint

The number of MUSE spectral bins to consider for computation. MUSE FSF is assumed constant within a bin.

confdict

The settings dict.

Attributes
estimatedCubenumpy.ndarray

Estimated cube

estimatedCubeContnumpy.ndarray

Estimated cube continuum

residualsnumpy.ndarray

The cube of residuals (datacube - estimated cube)

sources: list

list of estimated spectra

varSources: list

list of variances of estimated spectra

listIntensityMap (HR, LRConvol)list

list of Abundance Map of each object detected, at high resolution, and after convolution and subsampling

Attributes Summary

Xi2_tot

Methods Summary

calcCondNumber([listobj])

Compute condition number.

calcXi2_source(k)

createIntensityMap()

Create intensity maps from HST images and segmentation map.

findSources([store])

Main function to estimate sources spectra.

write(outfile, conf, timestamp)

Attributes Documentation

Xi2_tot

Methods Documentation

calcCondNumber(listobj=None)[source]

Compute condition number.

calcXi2_source(k)[source]
createIntensityMap()[source]

Create intensity maps from HST images and segmentation map. To be called before calling findSources().

findSources(store=False)[source]

Main function to estimate sources spectra.

Parameters
storebool

store intermediate results

write(outfile, conf, timestamp)[source]