Skip to content

Determine the sky background RMS and contamination rate of an HST image

Notifications You must be signed in to change notification settings

lprichard/hst_sky_rms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

HST_sky_RMS

Codes to determine sky background RMS and contamination rates of HST images.

Takes drizzled Hubble space Telescope (HST) images, with build=True in Astrodrizzle from DrizzlePac, as inputs. Code creates a segmentation map with photutils for source detection.

For RMS test: Code measures the root-mean-squared (RMS) of the sky background within randomly placed apertures where there are no objects. Then plots a histogram, Gaussian of distribution, and averages of the RMS measurements. With additional user inputs, can determine a limiting magnitude of the image within a user-defined aperture size.

For contamination rates: Code places random apertures (size set by user to best match sources of interest) and determines how many have significant overlap (set by user) with objects in the segmentation map. Determines a contamination rate for sources in the input image.

About

Determine the sky background RMS and contamination rate of an HST image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published