PipelineImage¶
- class phrosty.pipeline.PipelineImage(image, pipeline)[source]¶
Bases:
objectHolds a snappl.image.Image, with some other stuff the pipeline needs.
Create a PipelineImage
Parameters:¶
- imagesnappl.image.Image
The image we’re encapsulating. Pass either this or imagepath.
- pipelinephrosty.pipeline.Pipeline
The pipeline that owns this image.
Methods Summary
free([free_psf_data])Try to free memory.
get_psf(ra, dec)Get the at the right spot on the image.
keep_psf_data(psf_data)Save PSF data to attribute.
run_sky_subtract([mp])Run sky subtraction using Source Extractor.
save_sky_subtract_info(info)Saves the sky-subtracted image, detection mask array, and sky RMS values to attributes.
Methods Documentation
- keep_psf_data(psf_data)[source]¶
Save PSF data to attribute.
- Parameters:
psf_data (np.array) – PSF stamp.