PYME.simulation.wormlike2 module

class PYME.simulation.wormlike2.SelfAvoidingWormlikeChain(kbp, steplength=10.0, lengthPerKbp=10.0, persistLength=150.0)

Bases: object

class PYME.simulation.wormlike2.WormlikeChain(kbp, steplength=10.0, lengthPerKbp=10.0, persistLength=150.0)

Bases: object

PYME.simulation.wormlike2.bareDNA(kbp, steplength=10)
PYME.simulation.wormlike2.dist_along_vector(p, n, verts)

3D distance between a point and a line consisting of several segments, taken along a given direction, n

Parameters
pnp.array

(3,N) array of points to measure distance to

vertsnp.array

(3,M) array of points representing the vertices of the line segments

PYME.simulation.wormlike2.fibre10nm(kbp, steplength=10)
PYME.simulation.wormlike2.fibre30nm(kbp, steplength=10)
PYME.simulation.wormlike2.line_sdf(p, verts)

3D distance between a point and a line consisting of several segments

Parameters
pnp.array

(3,N) array of points to measure distance to

vertsnp.array

(3,M) array of points representing the vertices of the line segments

PYME.simulation.wormlike2.wiglyFibre(length, persistLength, steplength=10)