pub struct VisualizationEngine {
pub output_format: OutputFormat,
pub color_scheme: ColorScheme,
pub figure_size: (f64, f64),
}Expand description
Main visualization engine for creating plots from numerical data
Fields§
§output_format: OutputFormatOutput format preference
color_scheme: ColorSchemeColor scheme
figure_size: (f64, f64)Figure size
Implementations§
Source§impl VisualizationEngine
impl VisualizationEngine
Sourcepub fn create_phase_spaceplot<F: IntegrateFloat>(
&self,
ode_result: &ODEResult<F>,
x_index: usize,
y_index: usize,
) -> IntegrateResult<PhaseSpacePlot>
pub fn create_phase_spaceplot<F: IntegrateFloat>( &self, ode_result: &ODEResult<F>, x_index: usize, y_index: usize, ) -> IntegrateResult<PhaseSpacePlot>
Create phase space plot from ODE result
Sourcepub fn create_bifurcation_diagram(
&self,
bifurcation_points: &[BifurcationPoint],
parameter_range: (f64, f64),
n_points: usize,
) -> IntegrateResult<BifurcationDiagram>
pub fn create_bifurcation_diagram( &self, bifurcation_points: &[BifurcationPoint], parameter_range: (f64, f64), n_points: usize, ) -> IntegrateResult<BifurcationDiagram>
Create bifurcation diagram from analysis results
Sourcepub fn create_vector_fieldplot<F>(
&self,
system: F,
x_range: (f64, f64),
y_range: (f64, f64),
grid_size: (usize, usize),
) -> IntegrateResult<VectorFieldPlot>
pub fn create_vector_fieldplot<F>( &self, system: F, x_range: (f64, f64), y_range: (f64, f64), grid_size: (usize, usize), ) -> IntegrateResult<VectorFieldPlot>
Create vector field plot for 2D dynamical systems
Sourcepub fn create_basinplot(
_basinanalysis: &BasinAnalysis,
) -> IntegrateResult<HeatMapPlot>
pub fn create_basinplot( _basinanalysis: &BasinAnalysis, ) -> IntegrateResult<HeatMapPlot>
Create basin of attraction visualization
Sourcepub fn render_asciiplot(
data: &[(f64, f64)],
width: usize,
height: usize,
) -> String
pub fn render_asciiplot( data: &[(f64, f64)], width: usize, height: usize, ) -> String
Generate ASCII art representation of a 2D plot
Sourcepub fn export_csv(plot: &PhaseSpacePlot) -> IntegrateResult<String>
pub fn export_csv(plot: &PhaseSpacePlot) -> IntegrateResult<String>
Export plot data to CSV format
Sourcepub fn create_learning_curve(
&self,
iterations: &[usize],
values: &[f64],
title: &str,
) -> IntegrateResult<PhaseSpacePlot>
pub fn create_learning_curve( &self, iterations: &[usize], values: &[f64], title: &str, ) -> IntegrateResult<PhaseSpacePlot>
Create learning curve plot for optimization algorithms
Sourcepub fn create_convergenceplot(
&self,
step_sizes: &[f64],
errors: &[f64],
theoretical_order: f64,
) -> IntegrateResult<PhaseSpacePlot>
pub fn create_convergenceplot( &self, step_sizes: &[f64], errors: &[f64], theoretical_order: f64, ) -> IntegrateResult<PhaseSpacePlot>
Create convergence analysis plot
Sourcepub fn create_parameter_exploration(
&self,
param_ranges: &[(f64, f64)],
param_names: &[String],
evaluation_function: &dyn Fn(&[f64]) -> f64,
resolution: usize,
) -> IntegrateResult<ParameterExplorationPlot>
pub fn create_parameter_exploration( &self, param_ranges: &[(f64, f64)], param_names: &[String], evaluation_function: &dyn Fn(&[f64]) -> f64, resolution: usize, ) -> IntegrateResult<ParameterExplorationPlot>
Create interactive parameter space exploration plot
Sourcepub fn create_real_time_bifurcation(
&self,
system: &dyn Fn(&Array1<f64>, f64) -> Array1<f64>,
parameter_range: (f64, f64),
initial_conditions: &[Array1<f64>],
transient_steps: usize,
record_steps: usize,
) -> IntegrateResult<RealTimeBifurcationPlot>
pub fn create_real_time_bifurcation( &self, system: &dyn Fn(&Array1<f64>, f64) -> Array1<f64>, parameter_range: (f64, f64), initial_conditions: &[Array1<f64>], transient_steps: usize, record_steps: usize, ) -> IntegrateResult<RealTimeBifurcationPlot>
Create real-time bifurcation diagram
Sourcepub fn create_3d_phase_space<F: IntegrateFloat>(
&self,
ode_result: &ODEResult<F>,
x_index: usize,
y_index: usize,
z_index: usize,
) -> IntegrateResult<PhaseSpace3D>
pub fn create_3d_phase_space<F: IntegrateFloat>( &self, ode_result: &ODEResult<F>, x_index: usize, y_index: usize, z_index: usize, ) -> IntegrateResult<PhaseSpace3D>
Create 3D phase space trajectory
Sourcepub fn create_sensitivity_analysis(
&self,
base_parameters: &[f64],
parameter_names: &[String],
sensitivity_function: &dyn Fn(&[f64]) -> f64,
perturbation_percent: f64,
) -> IntegrateResult<SensitivityPlot>
pub fn create_sensitivity_analysis( &self, base_parameters: &[f64], parameter_names: &[String], sensitivity_function: &dyn Fn(&[f64]) -> f64, perturbation_percent: f64, ) -> IntegrateResult<SensitivityPlot>
Create interactive sensitivity analysis plot
Trait Implementations§
Source§impl Clone for VisualizationEngine
impl Clone for VisualizationEngine
Source§fn clone(&self) -> VisualizationEngine
fn clone(&self) -> VisualizationEngine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VisualizationEngine
impl Debug for VisualizationEngine
Auto Trait Implementations§
impl Freeze for VisualizationEngine
impl RefUnwindSafe for VisualizationEngine
impl Send for VisualizationEngine
impl Sync for VisualizationEngine
impl Unpin for VisualizationEngine
impl UnwindSafe for VisualizationEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more