Tubulin_sim

functionPhTub(tub: tubSettings)[source]

It simulates a 2D or 3D array of randomly generated filaments.

Parameters:

tub (tubSettings) – Object with the simulation parameter.

Returns:

phTub – 2D or 3D array of the simulated filaments

Return type:

np.ndarray

getElipsoid(xC, yC, zC, xR, yR, zR, cIn, rIn, dIn)[source]
thetaVariation(z)[source]

Definition of the angular parameters to reproduce a natural distribution and structure of the tub

class tubSettings[source]

Bases: object

Class of tubulin simulation parameters.

xy_pixel_size

pixel size (nm)

Type:

float

xy_dimension

number of pixels on the xy plane (assumed square)

Type:

int

xz_dimension

number of axial planes

Type:

int

z_pixel

pixel size for 3D image (nm)

Type:

float

n_filament

number of filaments (but it can be also random with an interval of [10,100] )

Type:

float / tuple

radius_filament

radius of filaments (but it can be also random with an interval of [8-12] ) (nm)

Type:

float / tuple

intensity_filament

brightness of filaments [min,max]

Type:

tuple