API Reference

coconut_tools.toheliosphere.create_dat

Module for generating EUHFORIA-compatible solar wind boundary files from COCONUT outputs.

coconut_tools.postprocessing.create_hdf

Module for extracting and converting plasma simulation data into HDF5 format.

coconut_tools.tools.download_tomo_file

Download STEREO tomography files (.dat and .jpg) from solarphysics.abersytwyth.ac.uk archive.

coconut_tools.postprocessing.group_vtu_files

Utility to merge .vtu files from multiple processors into a single file for ParaView visualization.

coconut_tools.tools.how_to_read_output

This module provides functions to read and process simulation outputs from the COCONUT code.

coconut_tools.tools.logger_config

logger_config.py

coconut_tools.magnetogram.play_with_the_frame

Synoptic magnetogram utilities (header/filename parsing + aligned plotting).

coconut_tools.plot.plot

This module provides plotting utilities for analyzing and comparing the magnetic, thermodynamic, and velocity outputs from COCONUT simulation results.

coconut_tools.plot.plot_convergence

Module for comparing convergence of COCONUT in-situ plasma quantities across different simulations.

coconut_tools.visualization_3d.pyvista_slice

Coconut Visualization with PyVista

coconut_tools.toheliosphere.read_dat_files

Reads physical simulation data from a formatted text file.

coconut_tools.tools.rotation_angle

Compute Carrington to Stonyhurst rotation angle from magnetogram filenames.

coconut_tools.tools.solarmach_plot

SolarMACH helper: plot and list positions of planets/spacecraft.

coconut_tools.plot.tomography

Compare Coconut Tomography with Tomographic Inversion

coconut_tools.visualization_3d.coconut_to_jhv

coconut_to_jhv_minimal.py

coconut_tools.magnetogram

Magnetogram filtering and preparation tools.

coconut_tools.pyTDM

Tools for adding TDm configurations to COCONUT inputs.