imas.convert_core_edge_plasma.convert_to_plasma_profiles

imas.convert_core_edge_plasma.convert_to_plasma_profiles(core_or_edge_profiles: IDSToplevel, *, deepcopy: bool = False) IDSToplevel

Convert a core_profiles or edge_profiles IDS to a plasma_profiles IDS.

The input IDS must use a Data Dictionary version for which the plasma_profiles IDS exists (3.42.0 or newer).

Parameters:
core_or_edge_profiles: IDSToplevel

The core_profiles or edge_profiles IDS to be converted.

Keyword Arguments:
deepcopy: bool = False

When True, performs a deep copy of all data. When False (default), numpy arrays are not copied and the converted IDS shares the same underlying data buffers.


Last update: 2026-01-28