Skip to main content
← OpenMECP Documentation

generate_energy_surface_data

Function generate_energy_surface_data 

Source
fn generate_energy_surface_data(
    scan_results: &[ScanPointResult],
    output_file: &str,
) -> Result<(), Box<dyn Error>>
Expand description

Generates energy surface data suitable for plotting.

This function creates data files in formats suitable for plotting programs like gnuplot, matplotlib, or other visualization tools.

§Arguments

  • scan_results - Collection of scan point results
  • output_file - Path for the plotting data file

§Returns

Returns Ok(()) on successful data file generation.