idstools.view.pf_passive

This module provides view functions and classes for pf_passive ids data

refer data dictionary.

Module Contents

class idstools.view.pf_passive.PFPassiveView(ids: object)[source]

This class provides view functions for pf_passive ids

Initialization PFPassiveView object.

Parameters:
ids: object

pf_passive ids object

compute_obj
ids
view_pf_passive_loops(ax: matplotlib.pyplot.axes, select=':', edgecolor='#52bf90', facecolor='#52bf90', alpha=0.7)[source]

Visualizes passive PF (Poloidal Field) loops on the given matplotlib axis.

Parameters: ax (plt.axes): The matplotlib axes on which to draw the PF loops.

This method retrieves active PF loops from the compute object and draws them as rectangles on the provided matplotlib axis. Each rectangle represents a loop element, and the rectangles are colored with a blue edge and cyan face with 50% transparency. The aspect ratio of the plot is set to be equal, and the plot title is appended with “, pf_passive”.

idstools.view.pf_passive.logger