mist-hep 0.1.0
ROOT-backed analysis helpers built on mist
Loading...
Searching...
No Matches
mist::hep::signal Namespace Reference

Classes

struct  peak
 

Functions

double amplitude (const TGraph &g, double tmin, double tmax)
 
std::pair< double, double > extremum (const TGraph &g, bool find_min=false, double min_x=0.0, double max_x=0.0)
 
std::vector< double > threshold_crossings (const TGraph &g, double threshold, double direction=1.0)
 
std::pair< double, double > first_above (const TGraph &g, double threshold, bool negative=false)
 
std::pair< double, double > last_above (const TGraph &g, double threshold, bool negative=false)
 
owned::root_ptr< TGraph > maximum_filter (const TGraph &g, std::size_t block_size)
 
owned::root_ptr< TGraph > gaussian_filter (const TGraph &g, std::size_t window, double sigma)
 
double integrate (const TGraph &g, double min_x, double max_x, int power=1, bool use_bin_width=false)
 
std::vector< peakfind_peaks (const TGraph &g, double min_prominence, int half_window=10, bool negative=false)
 

Function Documentation

◆ amplitude()

double mist::hep::signal::amplitude ( const TGraph &  g,
double  tmin,
double  tmax 
)
inline

◆ extremum()

std::pair< double, double > mist::hep::signal::extremum ( const TGraph &  g,
bool  find_min = false,
double  min_x = 0.0,
double  max_x = 0.0 
)
inline

◆ find_peaks()

std::vector< peak > mist::hep::signal::find_peaks ( const TGraph &  g,
double  min_prominence,
int  half_window = 10,
bool  negative = false 
)
inline

◆ first_above()

std::pair< double, double > mist::hep::signal::first_above ( const TGraph &  g,
double  threshold,
bool  negative = false 
)
inline

◆ gaussian_filter()

owned::root_ptr< TGraph > mist::hep::signal::gaussian_filter ( const TGraph &  g,
std::size_t  window,
double  sigma 
)
inline

◆ integrate()

double mist::hep::signal::integrate ( const TGraph &  g,
double  min_x,
double  max_x,
int  power = 1,
bool  use_bin_width = false 
)
inline

◆ last_above()

std::pair< double, double > mist::hep::signal::last_above ( const TGraph &  g,
double  threshold,
bool  negative = false 
)
inline

◆ maximum_filter()

owned::root_ptr< TGraph > mist::hep::signal::maximum_filter ( const TGraph &  g,
std::size_t  block_size 
)
inline

◆ threshold_crossings()

std::vector< double > mist::hep::signal::threshold_crossings ( const TGraph &  g,
double  threshold,
double  direction = 1.0 
)
inline