Uses the inter-quartile range to mask bad channels and sub-integrations.
More...
#include <InterQuartileRange.h>
|
| unsigned | update_mask (std::vector< float > &mask, std::vector< float > &stat, std::vector< float > &model, unsigned nsubint, unsigned nchan, unsigned npol) |
| | Smooth the data given in raw, output to smoothed.
|
|
void | set_cutoff_threshold (float t) |
| | Set the cut-off threshold.
|
|
void | set_cutoff_threshold_max (float t) |
| | Set the cut-off threshold for the maximum value.
|
|
float | get_cutoff_threshold_max () const |
| | Get the cut-off threshold for the maximum value.
|
|
void | set_cutoff_threshold_min (float t) |
| | Set the cut-off threshold for the minimum value.
|
|
float | get_cutoff_threshold_min () const |
| | Get the cut-off threshold for the minimum value.
|
|
void | set_minimum_slope_median_duty_cycle (float t) |
| | Set the duty cycle used to find the 'minimum slope median'.
|
|
float | get_minimum_slope_median_duty_cycle () const |
| | Get the duty cycle used to find the 'minimum slope median'.
|
|
const std::string & | get_way () const |
|
void | set_way (const std::string &t) |
| TextInterface::Parser * | get_interface () |
| | Return a text interface that can be used to configure this instance.
|
| InterQuartileRange * | clone () const |
| | Derived types must also define clone method.
|
|
virtual void | set_threshold (float t) |
|
virtual float | get_threshold () const |
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|
|
float | cutoff_threshold_max = 1.5 |
| | Fraction of IQR.
|
|
float | cutoff_threshold_min = 1.5 |
|
float | minimum_slope_median_duty_cycle = 0.0 |
| | Duty cycle used to find the 'minimum slope median'.
|
|
std::string | way = "all" |
|
float | threshold |
Uses the inter-quartile range to mask bad channels and sub-integrations.
Implements an adjustable pair of Tukey's Fences https://en.wikipedia.org/wiki/Outlier#Tukey's_fences
◆ clone()
◆ get_interface()
Return a text interface that can be used to configure this instance.
Get the text interface to the configuration attributes.
Reimplemented from Pulsar::TimeFrequencyMask.
◆ update_mask()
| unsigned Pulsar::InterQuartileRange::update_mask |
( |
std::vector< float > & | mask, |
|
|
std::vector< float > & | stat, |
|
|
std::vector< float > & | model, |
|
|
unsigned | nsubint, |
|
|
unsigned | nchan, |
|
|
unsigned | npol ) |
|
virtual |
The documentation for this class was generated from the following files: