Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_known_structures = []
|
|||
_known_function_bodies = []
|
|||
_dynamic_funcs = ['_assignment', '_sens_assignment']
|
|||
_common_namespace = {'log': scipy.log, 'log10': scipy.log10, '
|
Imports: psyco
|
Return the index of the stored value closest to the requested time. Prints a warning if the difference between the requested time and the stored time is greater than a fraction eps of the trajectory length. |
Return a KeyedList of the values of the trajectory's variables at the given time. Prints a warning if the difference between the requested time and the stored time is greater than a fraction eps of the trajectory length. |
Return the value of the given variable at the given time. Prints a warning if the difference between the requested time and the stored time is greater than a fraction eps of the trajectory length. |
Return a KeyedList of the values of the trajectory's dynamic variables at the given time. Prints a warning if the difference between the requested time and the stored time is greater than a fraction eps of the trajectory length. |
Return a copy of this trajectory containing only the variables specified in keys. If keys is None, all variables are included. |
Given that a trajectory exists, build_interpolated_traj will create the coefficients for the spline interpolatation. The spline can then be evaluated using Trajectory.evaluate_interpolated_traj or Trajectory.evaluate_interpolated_trajs |
This is a version of evaluate_interpolated_traj that returns all the values of the dynamic variables and requires you to pass in the appropriate subinterval between events (that can be found in Trajectory.tcks.keys() ) Faster than calling evaluate_interpolated_traj repeatedly |
Needs Trajectory.build_interpolated_traj() to be called first Arguments: dvid the name of the component of the trajectory you wish to evaluate time a vector of times or a scalar subinterval an optional argument specifying the time interval between events that the time argument lies (but given a valid time, it will be found automatically) der the derivative of the spline function you want, the order of the derivative will be constrained by the order of the interpolated spline Outputs: A single scalar value (if time input is a scalar) or (returned_times, interpolated_trajectory at those times) if times is a vector Note: It is necessary to have a returned_times argument too, in case the times passed in happens to have a timepoint that corresponds to an event time, which often has two trajectory values associated with it. |
Output the given variables to a file. file_name Name of the file to use for output (will be overwritten!) out_vars List of variable ids ot output. If None, default is 'time', dynamic variables separator The separator to use between columns. |
|
_common_namespace
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jun 3 10:15:00 2009 | http://epydoc.sourceforge.net |