cytocalc.csmframe module

class cytocalc.csmframe.CSMFrame(pandas_obj, **kwargs)[source]

Bases: object

Class representing a single frame of a simulation. The data extracted from a frame file is stored in frame.data as a pandas object.

_get_pos_nparray()[source]

obtains 3D position frome parsed data. If simulation is 2D or 1D other dimensions are set to 0

compute_com()[source]

returns centre of mass of all filaments together (uniform mass)

compute_radius()[source]

returns a measure of “network radius” of filaments (see appendix of Belmonte et al. Mol Syst Biol. 2017 Sep 27;13(9):941. doi: 10.15252/msb.20177796 in https://pmc.ncbi.nlm.nih.gov/articles/instance/5615920/bin/MSB-13-941-s001.pdf)