-
Notifications
You must be signed in to change notification settings - Fork 0
Analysis Functions
Command which its parameter includes a region in a viewer (selected or predefined hardware region) can also use region selection.
Calculates the average pixel value for the region.
average_pixel box_id viewer_id region
Type: String
Description: Where to display the result.
Type: String
Description: Which viewer to analyze.
Type: Region
Description: The region of interest.
average_pixel box1 viewer2 (rect 1000 100 50 1000)
average_pixel box1 viewer2 sel
Marks the pixels above the specified threshold within the specified region.
hot_pixel viewer_id threshold region
Type: String
Description: Which viewer to analyze.
Type: Number
Description: The threshold for the pixel to be considered 'hot'.
Type: Region
Description: The region to analyze.
hot_pixel viewer1 150 (rect 1000 100 50 1000)
- At this time, only 500 pixel locations are displayed. Displaying thousands of hot pixels made debugging difficult.
- The viewer draws a DS9 "point" (actually a small circle) at each hot pixel location. Performance (but not visual clarity) is acceptable when there are thousands of hot pixels.
Display the pixel noise (square root of the second moment) for the region.
noise box_id viewer_id region
Type: String
Description: Where to display the result.
Type: String
Description: Which viewer to analyze.
Type: Region
Description: The region of interest.
noise box1 viewer2 (rect 1000 100 50 1000)