A range of values with a Phase::Unit.
More...
#include <PhaseRange.h>
|
| Range (const HasUnit &u, const ::Range &r) |
|
std::pair< unsigned, unsigned > | get_bins () const |
|
std::pair< double, double > | get_as (Unit) const |
|
Range | as (Unit) const |
|
| HasUnit (Unit u=Turns) |
|
unsigned | get_bin (double value) const |
|
double | get_as (Unit, double value, bool round_down=false) const |
|
double | get_scale (Unit) const |
|
void | set_unit (Unit u) |
|
Unit | get_unit () const |
|
void | set_nbin (unsigned N) |
|
void | set_period (double P_ms) |
| Set the period in milliseconds.
|
|
|
std::ostream & | operator<< (std::ostream &, const Range &) |
|
std::istream & | operator>> (std::istream &, Range &) |
|
|
std::ostream & | insertion (std::ostream &) const |
|
std::istream & | extraction (std::istream &) |
|
Unit | unit |
|
unsigned | nbin |
|
double | period |
|
bool | insert_units |
|
A range of values with a Phase::Unit.
The documentation for this class was generated from the following files: