PipelineImage

class phrosty.pipeline.PipelineImage(image, pipeline)[source]

Bases: object

Holds 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()

Try to free memory.

get_psf(ra, dec)

Get the at the right spot on the image.

keep_psf_data(psf_data)

run_sky_subtract([mp])

save_sky_subtract_info(info)

Methods Documentation

free()[source]

Try to free memory. More might be done here.

get_psf(ra, dec)[source]

Get the at the right spot on the image.

Parameters:
  • ra (float) – The coordinates in decimal degrees where we want the PSF.

  • dec (float) – The coordinates in decimal degrees where we want the PSF.

keep_psf_data(psf_data)[source]
run_sky_subtract(mp=True)[source]
save_sky_subtract_info(info)[source]