Profile smoothing (more accurately denoising) that uses a thresholded wavelet transform. More...

#include <WaveletSmooth.h>

Inheritance diagram for Pulsar::WaveletSmooth:
Pulsar::Transformation< Profile > Pulsar::Algorithm Reference::Able Reference::HeapTracked

Public Types

enum  Threshold { Hard, Soft }
 Available threshold types.
 

Public Member Functions

 WaveletSmooth ()
 Default constructor.
 
 ~WaveletSmooth ()
 Destructor.
 
unsigned get_ncoeff () const
 Get number of wavelet coeffs kept.
 
void transform (Profile *)
 Smooth given Profile.
 
void set_wavelet (const gsl_wavelet_type *t, int order, bool decimate=true)
 Set wavelet type, order.
 
void set_wavelet (std::string s)
 Set wavelet type, order from a string.
 
void set_threshold (Threshold t)
 Set threshold method.
 
void set_cutoff (double cut)
 Adjust cutoff.
 
- Public Member Functions inherited from Pulsar::Transformation< Profile >
void operator() (Profile *container)
 Functor interface.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Attributes

int ncoeff
 Number of coeffs kept.
 
Threshold thresh
 Threshold type.
 
double cutoff
 Threshold cutoff.
 
double cutoff_factor
 Cutoff multiplier, for fine-tuning.
 
double sigma
 Noise level in wavelet coeffs.
 
WaveletTransform wt
 The wavelet transform algorithm.
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Profile smoothing (more accurately denoising) that uses a thresholded wavelet transform.


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

Generated using doxygen 1.8.17