Skip to content

Two init functions for CoilPF #187

@lasofivec

Description

@lasofivec

In _core.py there are two different initializers for CoilPF class:

tofu/tofu/geom/_core.py

Lines 1503 to 1518 in 807da74

def __init__(self, Poly=None, Type=None, Lim=None, pos=None, extent=None,
Id=None, Name=None, Exp=None, shot=None,
sino_RefPt=None, sino_nP=_def.TorNP,
Clock=False, arrayorder='C', fromdict=None,
nturns=None, superconducting=None, active=None,
SavePath=os.path.abspath('./'),
SavePath_Include=tfpf.defInclude, color=None):
kwdargs = locals()
del kwdargs['self'], kwdargs['__class__']
# super()
super(CoilPF,self).__init__(mobile=False, **kwdargs)
def __init__(self, nturns=None, superconducting=None, active=None,
**kwdargs):
# super()
super(CoilPF,self).__init__(**kwdargs)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions