idstools.compute.pf_active

This module provides compute functions and classes for pf_active ids data

refer data dictionary.

Module Contents

class idstools.compute.pf_active.PfActiveCompute(ids: object)[source]

This class provides compute functions for pf_active ids.

ids

The PF active IDS (Integrated Data Structure) object containing active poloidal field coil data including coil geometry, electrical properties, and control information.

Type:

object

Initialization PfActiveCompute object.

Parameters:
ids: object

pf_active ids object

ids
get_active_pf_coils(select=':') dict[source]

This function returns a dictionary of active PF coils and their corresponding elements dimensions and center coordinates.

Returns:

a dictionary containing information about the active PF (poloidal field) coils. The keys of the dictionary are the identifiers of the coils, and the values are dictionaries containing information about the individual elements of each coil. The information about each element includes its horizontal width, vertical height, and center coordinates.

Examples

import pprint
import imas
from idstools.compute.pf_active import PfActiveCompute
from idstools.view.common import PlotCanvas
connection = imas.DBEntry("imas:mdsplus?user=public;pulse=135005;run=4;database=ITER;version=3", "r")
idsObj = connection.get('pf_active')

computeObj = PfActiveCompute(idsObj)
result=computeObj.get_active_pf_coils()
pprint.pprint(result)
idstools.compute.pf_active.logger