84 std::string *reason =
nullptr)
noexcept;
94 std::string *reason =
nullptr)
noexcept;
117 double halfWidth)
noexcept;
129 double speed)
noexcept;
147 double halfWidth)
noexcept;
171 void clear()
noexcept;
Owning Cartesian grid of complex scalar samples.
float dx() const noexcept
Returns the X grid spacing.
std::size_t height() const noexcept
Returns the number of samples along Y.
float dy() const noexcept
Returns the Y grid spacing.
std::size_t width() const noexcept
Returns the number of samples along X.
Implements the Potential Scene2D component.
Implements the Quantum Scar History2D component.
std::vector< std::complex< double > > spectralAccumulator_
bool append(double time, const ComplexField2D &field)
Carries out append.
std::size_t gridWidth() const noexcept
Carries out grid width.
std::size_t accumulatedFrames_
double filteredEnhancement() const noexcept
Carries out filtered enhancement.
std::vector< float > meanDensity_
std::size_t accumulatedFrames() const noexcept
Carries out accumulated frames.
bool hasAccumulationTime_
const std::vector< QuantumScarSample2D > & samples() const noexcept
Samples s.
double referenceEnergy() const noexcept
Carries out reference energy.
std::vector< float > filteredDensity_
double lastAccumulationTime_
std::size_t gridHeight() const noexcept
Carries out grid height.
const std::vector< float > & filteredProbabilityDensity() const noexcept
Carries out filtered probability density.
QuantumScarConfig2D config_
ComplexField2D reference_
std::vector< double > meanDensitySum_
float dx() const noexcept
Returns the X-axis grid spacing.
std::size_t maximumSamples_
float dy() const noexcept
Returns the Y-axis grid spacing.
std::vector< QuantumScarSample2D > samples_
const std::vector< float > & meanProbabilityDensity() const noexcept
Carries out mean probability density.
std::size_t maximumSamples() const noexcept
Carries out maximum samples.
QuantumScarGeometry2D geometry_
const QuantumScarGeometry2D & geometry() const noexcept
Carries out geometry.
void clear() noexcept
Clears stored state and returns the component to its empty/default state.
bool configured() const noexcept
Returns configured.
const QuantumScarConfig2D & config() const noexcept
Returns config.
void setMaximumSamples(std::size_t maximumSamples)
Sets maximum samples.
double hbar() const noexcept
Carries out hbar.
bool configure(const ComplexField2D &reference, const QuantumScarGeometry2D &geometry, const QuantumScarConfig2D &config, double referenceEnergy, double hbar=1.0)
Returns configure.
QuantumScarHistory2D(std::size_t maximumSamples=1600u)
Constructs a Quantum Scar History 2D instance.
bool empty() const noexcept
Returns whether the object contains no data.
void trimToLimit()
Carries out trim to limit.
Implements the Quantum Scars2D component.
static double orbitEnhancement(const ComplexField2D &field, const QuantumScarGeometry2D &geometry, double halfWidth) noexcept
Performs orbit enhancement.
static double axialOrbitPeriod(const QuantumScarGeometry2D &geometry, double speed) noexcept
Performs axial orbit period.
static double orbitBandArea(const QuantumScarGeometry2D &geometry, double halfWidth) noexcept
Performs orbit band area.
static double accessibleArea(const QuantumScarGeometry2D &geometry) noexcept
Performs accessible area.
static double fidelity(const ComplexField2D &reference, const ComplexField2D &field) noexcept
Performs fidelity.
static double axialOrbitRoundTripLength(const QuantumScarGeometry2D &geometry) noexcept
Performs axial orbit round trip length.
static bool inside(const QuantumScarGeometry2D &geometry, double x, double y) noexcept
Performs inside.
static bool identify(const PotentialScene2D &scene, QuantumScarGeometry2D &geometry, std::string *reason=nullptr) noexcept
Returns identify.
static bool validateConfig(const QuantumScarConfig2D &config, std::string *reason=nullptr) noexcept
Validates config.
Declares the complex scalar field container representing two-dimensional wave functions.
Declares the potentialscene2d physics/numerical component used by QPE experiments.
Data structure used by the Quantum Scar Config2D component.
double orbitBandHalfWidth
Data structure used by the Quantum Scar Geometry2D component.
Data structure used by the Quantum Scar Sample2D component.
double instantaneousOrbitEnhancement
double filteredOrbitEnhancement