cellpack.autopack.interface_objects package¶
Submodules¶
cellpack.autopack.interface_objects.database_ids module¶
cellpack.autopack.interface_objects.default_values module¶
cellpack.autopack.interface_objects.gradient_data module¶
- class cellpack.autopack.interface_objects.gradient_data.GradientData(gradient_options, gradient_name='default')[source]¶
Bases:
object
Takes in gradient dictionary from the recipe file to create a GradientData instance
- default_values = {'description': 'Linear gradient in the X direction', 'invert': None, 'mode': 'X', 'mode_settings': {}, 'pick_mode': 'linear', 'reversed': False, 'weight_mode': 'linear', 'weight_mode_settings': {}}¶
- class cellpack.autopack.interface_objects.gradient_data.GradientModes(value)[source]¶
Bases:
MetaEnum
All available gradient modes
- RADIAL = 'radial'¶
- SURFACE = 'surface'¶
- VECTOR = 'vector'¶
- X = 'X'¶
- Y = 'Y'¶
- Z = 'Z'¶
- class cellpack.autopack.interface_objects.gradient_data.InvertOptions(value)[source]¶
Bases:
MetaEnum
All available options for individual invert modes
- distance = 'distance'¶
- weight = 'weight'¶
- class cellpack.autopack.interface_objects.gradient_data.ModeOptions(value)[source]¶
Bases:
MetaEnum
All available options for individual modes
- center = 'center'¶
- direction = 'direction'¶
- gblob = 'gblob'¶
- object = 'object'¶
- radius = 'radius'¶
- scale_distance_between = 'scale_distance_between'¶
- class cellpack.autopack.interface_objects.gradient_data.PickModes(value)[source]¶
Bases:
MetaEnum
All available pick modes
- BINARY = 'binary'¶
- LINEAR = 'linear'¶
- MAX = 'max'¶
- MIN = 'min'¶
- REG = 'reg'¶
- RND = 'rnd'¶
- SUB = 'sub'¶
cellpack.autopack.interface_objects.ingredient_types module¶
- class cellpack.autopack.interface_objects.ingredient_types.INGREDIENT_TYPE(value)[source]¶
Bases:
MetaEnum
An enumeration.
- GROW = 'grow'¶
- MESH = 'mesh'¶
- MULTI_CYLINDER = 'multi_cylinder'¶
- MULTI_SPHERE = 'multi_sphere'¶
- SINGLE_CUBE = 'single_cube'¶
- SINGLE_CYLINDER = 'single_cylinder'¶
- SINGLE_SPHERE = 'single_sphere'¶
cellpack.autopack.interface_objects.meta_enum module¶
cellpack.autopack.interface_objects.packed_objects module¶
- class cellpack.autopack.interface_objects.packed_objects.PackedObject(position, rotation, radius, pt_index, ingredient=None, is_compartment=False)[source]¶
Bases:
object
- class cellpack.autopack.interface_objects.packed_objects.PackedObjects[source]¶
Bases:
object
- add(new_object: PackedObject)[source]¶
cellpack.autopack.interface_objects.partners module¶
cellpack.autopack.interface_objects.representations module¶
- class cellpack.autopack.interface_objects.representations.Representations(mesh=None, atomic=None, packing=None)[source]¶
Bases:
object
This object holds the different representation types for an ingredient¶
mesh : OBJ file info atomic : PDB or ciff file info packing: Sphere tree file or sphere tree data
- DATABASE = 'https://raw.githubusercontent.com/mesoscope/cellPACK_data/master/cellPACK_database_1.1.0'¶
Module contents¶
Interface classes for cellpack. These are to establish data structures.