Defects
azcam_console.testers.defects
Defects
Bases: Tester
Find and quantify image azcam.db.tools["defects"].
analyze()
Report on defects from dark and superflat analysis.
create_defects_mask()
Create a single mask from Edge Mask, Bright mask, and Dark mask. Execute AFTER dark and bright defects are found.
get_defect_coords(mask_in)
Get the coordinates [col,row] of defects, not including edge mask.
mask_defects(masked_image)
Apply defects mask to input masked image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
masked_image
|
array
|
input masked image |
required |
mask_edges(masked_array, edge_size=-1)
Mask the edges of the input masked array.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
masked_array
|
array
|
input masked array |
required |
edge_size
|
int
|
integer number of pixels closest to edges to mask. |
-1
|
plot_defects_mask()
Plot the defective pixel mask.
read_defects_mask(filename='')
Read a defects mask (FITS format).
report()
Write defects report file for Bright and Dark. Run only after all analysis has been completed.