SMS_BP
Single Molecule Simulations -BP
Loading...
Searching...
No Matches
SMS_BP.condensate_movement Namespace Reference

Classes

class  Condensate
 

Detailed Description

Contains class for storing condensate data. Condensates are defined as spherical always; defined by a 
center (x,y,z), radius (r), and time (t). The complete description of the condensate at any time (t) is:
(x,y,z,r,t).

Usage:
------
    Initialize the class as follows:
        condensate = Condensate(**{
            "inital_position":np.array([0, 0, 0]),
            "initial_time":0,
            "diffusion_coefficient":0,
            "hurst_exponent":0,
            "units_time":'ms',
            "units_position":'um',
            "condensate_id":0,
            "initial_scale":0,
        })
    Call the class object as follows to get the position and scale of the condensate at a given time:
        condensate(times, time_unit) -> dict{"Position":np.ndarray, "Scale":float}