extract_point_source¶
-
sitelle.source.extract_point_source(x, y, cube, small_bin=3, medium_bin=None, big_bin=30)¶ Basic way to extract a point source spectra with the local background subtracted. For a given position xy, we sum the spectra extracted in a squared region of size small_bin**2 centered on x,y, and subtract from it the median spectra from a squared region of size big_bin**2 centered on x,y excluding the medium_bin**2 central area.
Parameters: - x (int) – Abscisse position, in pixels
- y (int) – Ordinate position, in pixels
- cube (
SpectralCube) – SpectralCube instance where we are looking at the source - small_bin (int) – (Optional) Size of the inner region. Default = 3
- medium_bin (int) – (Optional) Size of the middle region. Default = small_bin
- big_bin (int) – (Optional) Size of the outter region. Default = 30
Returns: