Source (sitelle.source)

Introduction

Some methods to extract and analyse point-like sources.

Reference/API

sitelle.source Module

This module groups convenience methods used when dealing with point-like sources.

Functions

mask_sources(sources, annulus) Mask sources not contained in a given 2D mask.
filter_frame(frame, annulus[, val]) DEPRECATED
extract_max_frame(x, y, spectral_cube, …) For a given spatial position, extracts a few frames around the maximum of detection in the cube and returns their sum.
estimate_local_background(x, y, cube[, …]) Estimation of a local background spectrum.
extract_point_source(x, y, cube[, …]) Basic way to extract a point source spectra with the local background subtracted.
check_source(x, y, spectral_cube[, frame, …]) Helper function to quickly look at a source We extract the source at positon (x,y) with extract_point_source() and plot the resulting spectra.
measure_coherence(source, argmax_map[, …]) Coherence is a measure of the credibility of a source as an emission line source.
measure_source_fwhm(detection, data[, rmax]) TO USE CAREFULLY Function used to estimate the FWHM of a source.
get_sources(detection_frame[, mask, sigma, …]) Main method used to identify sources in a detection frame and estimate their position.
analyse_source(source, cube[, plot, …]) Convenience method to spatially analyse a source.