Parts package¶
Submodules¶
Parts.GeometryBuilder module¶
Module contains helper functions to build microtubules, centrosomes and interMT connectors
-
Parts.GeometryBuilder.assign_MT_section(part, MTname, **kwargs)[source]¶ Assign a section to microtubules
Parameters: - part (object) – Microtubule part to which section to be assigned
- MTname (str) – Name of the microtubule
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
-
Parts.GeometryBuilder.assign_MT_section_orientation(MTname, **kwargs)[source]¶ Assign MT section orientation with respect to the local coordinates of the MT
Parameters: - MTname (str) – Name of the microtubule
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
-
Parts.GeometryBuilder.assign_centrosome_section(part, name, sectionName, **kwargs)[source]¶ Assign section to the Centrosome part
Parameters: - part (object) – Centrosome part to which the section is to be assigned
- name (str) – Name of the centrosome
- sectionName (str) – Name of the section to be assigned
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
-
Parts.GeometryBuilder.assign_connector_section(part, name, **kwargs)[source]¶ Assign a section to each connector
Parameters: - part (object) – Connector part to which section to be assigned
- name (str) – Name of the connector
- kwargs (dict) – model parameters
Returns: Region containing connector
Return type: object
-
Parts.GeometryBuilder.create_MT_part(l, type, i, **kwargs)[source]¶ Create an Abaqus object representing a single microtubule part
Parameters: - l (float) – Length of the microtuble
- type (str) – Type of the MT: aMT or ipMT
- i (str) – sequential number of the MT
- kwargs (dict) – model parameters
Returns: part object, MTname
Return type: object, str
-
Parts.GeometryBuilder.create_centrosome_part(Centrosomesketch, name, **kwargs)[source]¶ Create an Abaqus object containing centrosome geometry part
Parameters: - Centrosomesketch (str) – Name of the centrosome sketch object
- name (object) – Name of the centrosome part
- kwargs (str) – model parameters
Returns: Centrosome part
Return type: object
-
Parts.GeometryBuilder.create_centrosome_sketch(l, r, **kwargs)[source]¶ Create a 2D sketch of the centrosome middle cross-section
Parameters: - l (float) – Length of the centrosome, e.g., dimension along z axis
- r – Radius of the centrosome, e.g., radius of the centrosome cross-section
in x-y plane
Parameters: kwargs (dict) – model parameters Returns: Sketch object Return type: object
-
Parts.GeometryBuilder.create_connector_part(connectorname, length, **kwargs)[source]¶ Create an Abaqus object that represents a single connector part
Parameters: - connectorname (str) – Name of the connector
- length (float) – Length of the connector
- kwargs (dict) – model parameters
Returns: Part object
Return type: object
-
Parts.GeometryBuilder.create_mt_name(l, type, i)[source]¶ Specify a unique name to each created microtubule
Parameters: - l (float) – Length of the MT
- type (str) – Type of the MT: aMT or ipMT
- i (int) – sequential number of the MT
Returns: MTname
Return type: str
-
Parts.GeometryBuilder.create_section(sectionName, sectionProfile, sectionMaterial, **kwargs)[source]¶ Create a beam section for the microtubule
Parameters: - sectionName (str) – Name of the section. ‘MT-section’
- sectionProfile (str) – Type of the section profile. ‘MT-profile’
- sectionMaterial (str) – Name of the material assigned to the section. ‘MT_material’
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
-
Parts.GeometryBuilder.define_material(name, E, nu, **kwargs)[source]¶ Define material parameters of microtubules, connectors and centrosomes specifying its module of elasticity and Poisson’s ratio
Parameters: - name (str) – Name of the material
- E (float) – Module of elasticity
- nu (float) – Poisson’s ratio
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
Parts.standard_parts module¶
-
Parts.standard_parts.centrosome(**kwargs)[source]¶ Creates a centrosome part object, assigns material and section
Parameters: kwargs (dict) – model parameters Returns: centrosome part Return type: object
-
Parts.standard_parts.connector(i, length, connectorname, **kwargs)[source]¶ Creates a connector part object and assigns material and section
Parameters: - i (int) – Sequential number of the connector
- length (float) – Length of the connector
- connectorname (str) – Name of the connector
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
-
Parts.standard_parts.microtubule(type, l, i, **kwargs)[source]¶ Creates a microtubule part object and assigns material and section
Parameters: - type (str) – Either aMT or ipMT
- l (float) – Length of the microtubule
- i (int) – Sequential index of the microtubule
- kwargs (dict) – model parameters
Returns: Null
Return type: Null
Module contents¶
This module contains functions that generate geometry and mechanical properties of the standard elements of the mitotic spindle such as centromere, microtubule and interMT connectors