Compute the refractive index or the extinction coefficient for a given medium.
More...
|
| refractive_index () |
| Default constructor. More...
|
|
virtual | ~refractive_index () |
| Destructor. More...
|
|
bool | is_eval_n () const |
| Check the refractive index evaluation mode. More...
|
|
bool | is_eval_k () const |
| Check the extinction coefficient evaluation mode. More...
|
|
void | set_eval_n () |
| Set to refractive index evaluation mode. More...
|
|
void | set_eval_k () |
| Set to extinction coefficient evaluation mode. More...
|
|
bool | has_lambda_range () const |
| Check if validity range of lambda is set. More...
|
|
void | set_lambda_range (const double lambda_min_, const double lambda_max_) |
| Set the validity range of lambda. More...
|
|
void | set_lambda_range (const datatools::real_range &lr_) |
| Set the validity range of lambda. More...
|
|
const datatools::real_range & | get_lambda_range () const |
| Return the validity range of lambda. More...
|
|
void | make_constant (const double n_, const double k_=std::numeric_limits< double >::quiet_NaN()) |
|
void | make_tabulated (const std::string &n_tab_, const std::string &k_tab_="") |
| Use a tabulated refractive index and extension coefficient. More...
|
|
void | make_dispersion_rii (const dispersion_formula_type formula_, const coeff_dict_type &coeffs_, const std::string &k_tab_="") |
| Use a RII dispersion formula refractive index. More...
|
|
bool | has_rii_coeff (const std::size_t) const |
| Check if a RII coeff is set. More...
|
|
double | get_rii_coeff (const std::size_t) const |
| Return the RII coeff at given rank. More...
|
|
double | eval_refractive_index (const double lambda_) const |
| Compute the refractive index from the vacuum wavelength (where E = hc/lambda) More...
|
|
double | eval_extinction_coefficient (const double lambda_) const |
| Compute the extinction coefficient from the vacuum wavelength. More...
|
|
double | eval_attenuation_coefficient (const double lambda_) const |
| Compute the attenuation coefficient from the vacuum wavelength. More...
|
|
double | eval_penetration_depth (const double lambda_) const |
| Compute the penetration depth from the vacuum wavelength. More...
|
|
double | compute_principal_dispersion () const |
| Compute the principal dispersion (from Fraunhofer F-, C-spectral lines) More...
|
|
double | compute_abbe_number () const |
| Compute the Abbe number (from Fraunhofer D-, F-, C-spectral lines) More...
|
|
double | compute_abbe_number_e () const |
| Compute the Abbe number (from Fraunhofer Cd, Hg spectral lines) More...
|
|
virtual bool | has_explicit_domain_of_definition () const |
| Check if a domain of definition is set. More...
|
|
virtual bool | is_in_domain_of_definition (const double x_) const |
| Check if a value is in the domain of definition. More...
|
|
bool | is_initialized () const |
| Check initialization status. More...
|
|
void | initialize (const datatools::properties &config_, const mygsl::unary_function_dict_type &) |
| Initialize from properties. More...
|
|
void | reset () |
| Reset. More...
|
|
| i_unary_function (double epsilon_=0.0) |
| Constructor. More...
|
|
virtual | ~i_unary_function () |
| Destructor. More...
|
|
virtual double | eval (double x_) const |
| The function evaluation method. More...
|
|
double | evaluate (double x_) const |
| The function evaluation method. More...
|
|
virtual double | eval_no_check (double x_) const |
| The function evaluation method with any value check. More...
|
|
virtual double | get_non_zero_domain_min () const |
| The minimum bound of the non-zero domain (default is minus infinity) More...
|
|
bool | has_non_zero_domain_min () const |
| Check the minimum bound of the non-zero domain. More...
|
|
virtual double | get_non_zero_domain_max () const |
| The maximum bound of the non-zero domain (default is plus infinity) More...
|
|
bool | has_non_zero_domain_max () const |
| Check the maximum bound of the non-zero domain. More...
|
|
bool | is_in_non_zero_domain (double x_) const |
| Check if a value is in the non-zero domain. More...
|
|
bool | is_in_zero_domain (double x_) const |
| Check if a value is in the zero domain. More...
|
|
bool | has_zero_domain () const |
| Check if the functor has an explicit zero domain. More...
|
|
double | operator() (double x_) const |
| Standard C++ functor interface. More...
|
|
void | write_ascii (std::ostream &fout_, double min_, double max_, unsigned int nsamples_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII stream : More...
|
|
void | write_ascii_with_units (std::ostream &fout_, double min_, double max_, unsigned int nsamples_, double x_unit_, double fx_unit_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII stream : More...
|
|
void | write_ascii_file (const std::string &filename_, double min_, double max_, unsigned int nsamples_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII file (typical Gnuplot input) : More...
|
|
void | write_ascii_file_with_units (const std::string &filename_, double min_, double max_, unsigned int nsamples_, const std::string &x_unit_label_, const std::string &fx_unit_label_, int x_precision_=16, int fx_precision_=16, uint32_t options_=wo_default) const |
| Write the (x,y=f(x)) value pairs in an ASCII file (typical Gnuplot input) : More...
|
|
void | set_epsilon (double) |
| Set the precision. More...
|
|
double | get_epsilon () const |
| Return the precision. More...
|
|
void | initialize_simple () |
| Simple initialization. More...
|
|
void | initialize_standalone (const datatools::properties &config_) |
| Initialization from a container of parameters. More...
|
|
virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| Smart printing. More...
|
|
| i_tree_dumpable () |
| Constructor. More...
|
|
virtual | ~i_tree_dumpable () |
| Destructor. More...
|
|
virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| Main new interface method for printing. More...
|
|
void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| Printing with jsonized options. More...
|
|
void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| Printing with jsonized options. More...
|
|
void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
|
void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
|
void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
|