Convenient shortcuts.
More...
◆ parse_length()
QLength units::parse_length |
( |
const std::string & |
str | ) |
|
find length units from a string
- Returns
- QLength unit
Definition at line 629 of file rquantities.hpp.
◆ parse_spectralflux()
QSpectralFluxDensity units::parse_spectralflux |
( |
const std::string & |
str | ) |
|
find length units from a string
- Returns
- QLength unit
Definition at line 638 of file rquantities.hpp.
◆ length_mapper
const std::map<std::string, QLength> units::length_mapper |
Initial value:
str aliases to length units
Definition at line 588 of file rquantities.hpp.
◆ spectralflux_mapper
const std::map<std::string, QSpectralFluxDensity> units::spectralflux_mapper |
Initial value:{
{
"erg/second/centimetre2/angstrom",
flam},
{
"erg/second/centimetre**2/angstrom",
flam},
{
"erg/second/centimetre^2/angstrom",
flam},
}
str aliases to spectral flux density units
Definition at line 615 of file rquantities.hpp.