Sources Detection (mpdaf.sdetect)

The mpdaf.sdetect package contains different methods to detect sources.

Contents:

Reference/API

mpdaf.sdetect Package

Functions

compute_optimal_spectrum(cube, mask, psf)

Compute a spectrum for a cube by summing along the spatial axis.

compute_spectrum(cube, weights)

Compute a spectrum for a cube by summing along the spatial axis.

crackz(nlines, wl, flux, eml[, zguess])

Method to estimate the best redshift matching a list of emission lines.

create_masks_from_segmap(segmap, catalog, ...)

Create binary masks from a segmentation map.

findCentralDetection(images, iyc, ixc[, ...])

Determine which image has a detection close to the centre.

findSkyMask(images)

Loop over all segmentation images and use the region where no object is detected in any segmentation map as our sky image.

get_emlines([iden, z, vac, lbrange, margin, ...])

Return list of emission lines

intersection(seg)

Return the intersection of a list of boolean arrays.

matchlines(nlines, wl, z, eml)

Try to match all the lines given.

muselet(file_cube[, file_expmap, step, ...])

MUSELET (for MUSE Line Emission Tracker) is a simple SExtractor-based python tool to detect emission lines in a datacube.

segmentation(source, tags, DIR, remove[, ...])

segmentation by running sextractor

union(seg)

Return the union of a list of boolean arrays.

z_from_linepos(iden, wavelength[, vac])

Returns the redshift at which a line has the given position.

Classes

Catalog(*args, **kwargs)

This class inherits from astropy.table.Table.

Segmap(file_or_image[, cut_header_after])

Handle segmentation maps, where pixel values are sources ids.

Source(header[, lines, mag, z, spectra, ...])

This class contains a Source object.

SourceList([iterable])

Handles a list of mpdaf.sdetect.Source objects.

Class Inheritance Diagram

digraph inheritance600ee561e8 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Catalog" [URL="../api/mpdaf.sdetect.Catalog.html#mpdaf.sdetect.Catalog",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="This class inherits from `astropy.table.Table`."]; "Table" -> "Catalog" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Segmap" [URL="../api/mpdaf.sdetect.Segmap.html#mpdaf.sdetect.Segmap",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Handle segmentation maps, where pixel values are sources ids."]; "Source" [URL="../api/mpdaf.sdetect.Source.html#mpdaf.sdetect.Source",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="This class contains a Source object."]; "SourceList" [URL="../api/mpdaf.sdetect.SourceList.html#mpdaf.sdetect.SourceList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Handles a list of `mpdaf.sdetect.Source` objects."]; "Table" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A class to represent tables of heterogeneous data."]; }