Parameterized and non-parameterized trajectory class. vals must be a
sequence of variable objects.
Non-parameterized objects are created by implicit function-defined
generators, e.g. ImplicitFnGen.
|
__call__(self,
t,
coords=None,
checklevel=None,
asGlobalTime=False,
asmap=False)
Evaluate a parameterized trajectory at given independent variable
value(s), interpreted as local times by default, unless
asGlobalTime==True (default is False, unlike with sample method). |
source code
|
|
|
|
|
|
|
|
|
|
|
__init__(self,
name,
vals,
coordnames=None,
modelNames=None,
timeInterval=None,
modelEventStructs=None,
eventTimes=None,
events=None,
FScompatibleNames=None,
FScompatibleNamesInv=None,
abseps=None,
globalt0=0,
checklevel=0,
norm=2,
parameterized=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
delete_variables(self,
coords)
coords is a list of coordinate names to remove |
source code
|
|
|
getEventTimes(self,
evnames=None,
asGlobalTime=True)
Returns a list of times at which the named events occurred in global
time, unless asGlobalTime option set to False (default is True). |
source code
|
|
|
getEvents(self,
evnames=None,
asGlobalTime=True)
Returns a pointset of all named events occuring in global time,
unless asGlobalTime option set to False (default is True). |
source code
|
|
|
|
|
mapNames(self,
themap)
themap is a symbolMapClass mapping object for remapping coordinate
names |
source code
|
|
|
sample(self,
coords=None,
dt=None,
tlo=None,
thi=None,
doEvents=True,
precise=False,
asGlobalTime=True)
Uniformly sample the named trajectory over range indicated. |
source code
|
|
|
truncate_to_idx(self,
idx)
Truncate trajectory according to a last coordinate specified by idx
argument, provided trajectory is defined by an underlying mesh. |
source code
|
|
|
truncate_to_indepvar(self,
t)
Truncate trajectory according to an independent variable value given
by t argument, provided trajectory is defined as parameterized. |
source code
|
|
|
underlyingMesh(self,
coords=None,
FScompat=True)
Return a dictionary of the underlying independent variables` meshes,
where they exist. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|