RAVE
Lib.odc_hac.HAC Class Reference

Public Member Functions

 __init__ (self)
 
 makeHac (self, fstr, nrays, nbins)
 Creates a HAC.
 
 readHac (self, fstr)
 Reads a HAC HDF5 file and returns the dataset in it.
 
 writeHac (self, fstr, compression=0)
 Writes a HAC to HDF5.
 
 hacFilter (self, scan, quant="DBZH", enough=100)
 Performs the filtering.
 
 hacIncrement (self, scan, quant="DBZH")
 Increments the HAC with the hits in the current scan.
 

Public Attributes

 hac = None
 
 thresh = None
 Get site-specific threshold!
 

Member Function Documentation

◆ hacFilter()

Lib.odc_hac.HAC.hacFilter ( self,
scan,
quant = "DBZH",
enough = 100 )

Performs the filtering.

Parameters
scaninput SCAN object
paramstring of the quantity to filter
enoughint lower threshold of the number of hits to accept in order to process

◆ hacIncrement()

Lib.odc_hac.HAC.hacIncrement ( self,
scan,
quant = "DBZH" )

Increments the HAC with the hits in the current scan.

Parameters
scaninput SCAN object
paramstring of the quantity to filter

◆ makeHac()

Lib.odc_hac.HAC.makeHac ( self,
fstr,
nrays,
nbins )

Creates a HAC.

Should be called only after a failed call to readHac

Parameters
fstrfile string
nraysint number of rays in the scan
nbinsint number of bins per ray

◆ readHac()

Lib.odc_hac.HAC.readHac ( self,
fstr )

Reads a HAC HDF5 file and returns the dataset in it.

Parameters
fstrfile string

◆ writeHac()

Lib.odc_hac.HAC.writeHac ( self,
fstr,
compression = 0 )

Writes a HAC to HDF5.

Parameters
fstrfile string
compressionint ZLIB compression level

Member Data Documentation

◆ thresh

Lib.odc_hac.HAC.thresh = None

Get site-specific threshold!


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