ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
enlighten.post_processing.BoxcarFeature.BoxcarFeature Class Reference

Encapsulate the high-frequency noise smoothing "boxcar" filter run at the end of post-processing. More...

Public Member Functions

 __init__ (self, ctl)
 
 dn_callback (self)
 
 get_half_width (self)
 
 process (self, pr, spec=None)
 
 set_half_width (self, value)
 
 up_callback (self)
 
 update_from_gui (self)
 
 update_visibility (self)
 

Public Attributes

 bt_dn = cfu.pushButton_boxcar_half_width_dn
 
 bt_up = cfu.pushButton_boxcar_half_width_up
 
 ctl = ctl
 
 dn_callback
 
 spinbox = cfu.spinBox_boxcar_half_width
 
 up_callback
 
 update_from_gui
 

Detailed Description

Encapsulate the high-frequency noise smoothing "boxcar" filter run at the end of post-processing.

Constructor & Destructor Documentation

◆ __init__()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.__init__ ( self,
ctl )

Member Function Documentation

◆ dn_callback()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.dn_callback ( self)

◆ get_half_width()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.get_half_width ( self)

◆ process()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.process ( self,
pr,
spec = None )
Parameters
pr(In/Out) ProcessedReading
spec(Input) Spectrometer
Note
supports cropped ProcessedReading

◆ set_half_width()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.set_half_width ( self,
value )

◆ up_callback()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.up_callback ( self)

◆ update_from_gui()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.update_from_gui ( self)

◆ update_visibility()

enlighten.post_processing.BoxcarFeature.BoxcarFeature.update_visibility ( self)

Member Data Documentation

◆ bt_dn

enlighten.post_processing.BoxcarFeature.BoxcarFeature.bt_dn = cfu.pushButton_boxcar_half_width_dn

◆ bt_up

enlighten.post_processing.BoxcarFeature.BoxcarFeature.bt_up = cfu.pushButton_boxcar_half_width_up

◆ ctl

enlighten.post_processing.BoxcarFeature.BoxcarFeature.ctl = ctl

◆ dn_callback

enlighten.post_processing.BoxcarFeature.BoxcarFeature.dn_callback

◆ spinbox

enlighten.post_processing.BoxcarFeature.BoxcarFeature.spinbox = cfu.spinBox_boxcar_half_width

◆ up_callback

enlighten.post_processing.BoxcarFeature.BoxcarFeature.up_callback

◆ update_from_gui

enlighten.post_processing.BoxcarFeature.BoxcarFeature.update_from_gui

The documentation for this class was generated from the following file: