Background on images
From MediaWiki
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
- | mesh_size=50 | + | mesh_size={50, 100, 150, 200, 300, 500} |
- | + | percent = {1, 7, 10, 15, 25, 26}} | |
- | + | mask = segmentation_map > 0 # Sextractor's segmentation mask with DETECT_THRESH = 1. and ANALYSIS_THRESH = 1. | |
- | bkg = Background2D(data, (mesh_size, mesh_size), filter_size=(5, 5), mask=mask, coverage_mask=bkgmask,sigma_clip=sigma_clip, bkg_estimator=bkg_estimator,exclude_percentile= | + | bkgmask = (data == 0.0) # Mask of the outer parts of the image without data (blank part) |
+ | |||
+ | bkg = Background2D(data, (mesh_size, mesh_size), filter_size=(5, 5), mask=mask, coverage_mask=bkgmask,sigma_clip=sigma_clip, bkg_estimator=bkg_estimator,exclude_percentile=percent, fill_value=0.0) | ||
= Mesh_size=50 = | = Mesh_size=50 = |
Revision as of 09:26, 14 April 2021
mesh_size={50, 100, 150, 200, 300, 500}
percent = {1, 7, 10, 15, 25, 26}}
mask = segmentation_map > 0 # Sextractor's segmentation mask with DETECT_THRESH = 1. and ANALYSIS_THRESH = 1.
bkgmask = (data == 0.0) # Mask of the outer parts of the image without data (blank part)
bkg = Background2D(data, (mesh_size, mesh_size), filter_size=(5, 5), mask=mask, coverage_mask=bkgmask,sigma_clip=sigma_clip, bkg_estimator=bkg_estimator,exclude_percentile=percent, fill_value=0.0)
Contents |