idstools.compute.pf_passive¶
This module provides compute functions and classes for pf_passive ids data
Module Contents¶
- class idstools.compute.pf_passive.PfPassiveCompute(ids: object)[source]¶
This class provides compute functions for pf_passive ids.
- ids¶
The PF passive IDS (Integrated Data Structure) object containing passive poloidal field loop data including loop geometry, mechanical properties, and electromagnetic response parameters.
Initialization PfPassiveCompute object.
- ids¶
-
get_pf_passive_loops(select=
':') dict[source]¶ Retrieves passive loops information from the IDS (Integrated Data Structure).
This method processes the loops and their elements, extracting relevant information such as identifiers, names, resistances, resistivities, and geometrical coordinates. It returns a dictionary where each key is the loop index and the value is another dictionary containing loop details and its elements.
- Returns:¶
- A dictionary containing loop information and their elements.
Returns None if no valid loops are found or if the geometry type is not implemented.
- Return type:¶
- Raises:¶
None –
- Logs:
Warnings are logged if: - The geometry type is not implemented. - Any loop has no elements. - The entire loop structure is empty.
- idstools.compute.pf_passive.logger¶