physDBD.gauss package
Submodules
physDBD.gauss.dparams0 module
physDBD.gauss.dparams0_traj module
- class physDBD.gauss.dparams0_traj.DParams0GaussTraj(times: numpy.array, dparams0_traj: List[physDBD.gauss.dparams0.DParams0Gauss])
Bases:
object
- __init__(times: numpy.array, dparams0_traj: List[physDBD.gauss.dparams0.DParams0Gauss])
Time evolution of params
- Args:
times (np.array): Times (real time) 1D array of length L dparams0_traj (List[DParams0Gauss]): List of length L
- convert_to_pd() pandas.core.frame.DataFrame
Convert to pandas data frame
- Returns:
pd.DataFrame: DataFrame
- export(fname: str)
Export to human readable CSV file
- Args:
fname (str): Filename
- classmethod fromFile(fname: str, nv: int)
Import from human-readable CSV file. First row should be header
- Args:
fname (str): Filename nv (int): No. visible species
- get_tf_outputs(non_zero_outputs: List[str] = []) Dict[str, numpy.array]
- get_tf_outputs_normalized(percent: float, non_zero_outputs: List[str] = []) Tuple[Dict[str, numpy.array], Dict[str, numpy.array], Dict[str, numpy.array]]
- property nt: int
No. timepoints
- Returns:
int: No. timepoints
- property nv: int
No. visible species
- Returns:
int: No. visible species