Phase::Ranges Class Reference

A set of ranges of values with a common Phase::Unit. More...

#include <PhaseRange.h>

Inheritance diagram for Phase::Ranges:
Phase::HasUnit

Public Member Functions

Ranges as (Unit) const
 
- Public Member Functions inherited from Phase::HasUnit
 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.
 

Friends

std::ostream & operator<< (std::ostream &, const Ranges &)
 
std::istream & operator>> (std::istream &, Ranges &)
 

Additional Inherited Members

- Protected Member Functions inherited from Phase::HasUnit
std::ostream & insertion (std::ostream &) const
 
std::istream & extraction (std::istream &)
 
- Protected Attributes inherited from Phase::HasUnit
Unit unit
 
unsigned nbin
 
double period
 
bool insert_units
 

Detailed Description

A set of ranges of values with a common Phase::Unit.


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

Generated using doxygen 1.8.17