autowisp.browser_interface.diagnostics.preview_calibrated module
Class Inheritance Diagram

View for previewing a calibrated FITS image by image ID and channel.
- autowisp.browser_interface.diagnostics.preview_calibrated._generate_quantile_overlay_png(fits_fname, threshold)[source]
Highlight pixels in the image below threshold
Return PNG bytes: cyan at 50% alpha below threshold, transparent above.
- autowisp.browser_interface.diagnostics.preview_calibrated._get_dr_fname(image_id, color_channel)[source]
Return the data-reduction file path for the given image and channel.
- autowisp.browser_interface.diagnostics.preview_calibrated._get_overlay_choices(image_id, color_channel, db_session)[source]
Return the list of (value, label) overlay choices for this image.
- autowisp.browser_interface.diagnostics.preview_calibrated._read_matched_positions(dr_file)[source]
Return extracted positions of stars matched to catalog entries.
- autowisp.browser_interface.diagnostics.preview_calibrated._read_source_positions(dr_file, src_type)[source]
Return x, y positions for srcextract or srcproj sources from DR file.