synthpic2.recipe.synth_chain.feature_generation_steps

Module for SynthChainSteps.

Subpackages

Submodules

Package Contents

Classes

AgglomerateParticles

FeatureGenerationStep to simulate gas phase agglomeration.

InvokeBlueprints

SynthChainStep to invoke a set of blueprints.

RelaxCollisions

SynthChainStep to relax collisions between objects of a set, using Blenders

LoadState

Synth chain step to load a previously saved state.

TriggerFeatureUpdate

SynthChainStep to update a feature of a set of objects according to a feature

DistributeInMeasurementVolume

SynthChainStep to distribute particles in the measurement volume.

class synthpic2.recipe.synth_chain.feature_generation_steps.AgglomerateParticles

Bases: synthpic2.recipe.synth_chain.feature_generation_steps.set_based_mixin.SetBasedMixin, synthpic2.recipe.synth_chain.feature_generation_steps.base.FeatureGenerationStep

FeatureGenerationStep to simulate gas phase agglomeration.

mode: str
randomness: float
speed: float
sintering_ratio: float = 0
primary_particle_number_variability: Any
__call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState

NotImplemented

class synthpic2.recipe.synth_chain.feature_generation_steps.InvokeBlueprints

Bases: synthpic2.recipe.synth_chain.feature_generation_steps.set_based_mixin.SetBasedMixin, synthpic2.recipe.synth_chain.feature_generation_steps.base.FeatureGenerationStep

SynthChainStep to invoke a set of blueprints.

__call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState

NotImplemented

class synthpic2.recipe.synth_chain.feature_generation_steps.RelaxCollisions

Bases: synthpic2.recipe.synth_chain.feature_generation_steps.set_based_mixin.SetBasedMixin, synthpic2.recipe.synth_chain.feature_generation_steps.base.FeatureGenerationStep

SynthChainStep to relax collisions between objects of a set, using Blenders bullet physics engine.

damping: float | None
angular_damping: float | None
linear_damping: float | None
friction: float = 1
restitution: float = 1
mass: float = 1.0
collision_shape: str = 'MESH'
mesh_source: str = 'FINAL'
num_frames: int = 100
use_gravity: bool = False
gravity: Tuple[float, float, float] = (0, 0)
collision_margin: float = 1e-06
time_scale: float = 1.0
substeps_per_frame: int = 10
solver_iterations: int = 10
dry_run: bool = False
__call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState

NotImplemented

class synthpic2.recipe.synth_chain.feature_generation_steps.LoadState

Bases: synthpic2.recipe.synth_chain.feature_generation_steps.base.FeatureGenerationStep

Synth chain step to load a previously saved state.

name: str
__call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState

NotImplemented

class synthpic2.recipe.synth_chain.feature_generation_steps.TriggerFeatureUpdate

Bases: synthpic2.recipe.synth_chain.feature_generation_steps.set_based_mixin.SetBasedMixin, synthpic2.recipe.synth_chain.feature_generation_steps.base.FeatureGenerationStep

SynthChainStep to update a feature of a set of objects according to a feature variability.

feature_variability_name: str
__attrs_post_init__() None
__call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState

NotImplemented

class synthpic2.recipe.synth_chain.feature_generation_steps.DistributeInMeasurementVolume

Bases: synthpic2.recipe.synth_chain.feature_generation_steps.set_based_mixin.SetBasedMixin, synthpic2.recipe.synth_chain.feature_generation_steps.base.FeatureGenerationStep

SynthChainStep to distribute particles in the measurement volume.

__call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState

NotImplemented