Class PolychromaticBeam

Inheritance Relationships

Base Type

Class Documentation

class PolychromaticBeam : public BeamBase

Public Functions

PolychromaticBeam() = default
PolychromaticBeam(std::array<double, 2> wavelength_range)
PolychromaticBeam(std::array<double, 2> wavelength_range, Vector3d direction)
PolychromaticBeam(std::array<double, 2> wavelength_range, Vector3d direction, double divergence, double sigma_divergence, Vector3d polarization_normal, double polarization_fraction, double flux, double transmission, double sample_to_source_distance)
PolychromaticBeam(const json &beam_data)
json to_json(std::string probe) const
json to_json() const
std::array<double, 2> get_wavelength_range() const
void set_wavelength_range(std::array<double, 2> wavelength_range)

Protected Attributes

std::array<double, 2> wavelength_range_ = {{0.0, 0.0}}