crystal_toolkit.components.transformations.cubic module
- class crystal_toolkit.components.transformations.cubic.CubicSupercellTransformationComponent(input_structure_component_id: str, *args, **kwargs)[source]
Bases:
TransformationComponent
- property description
- options_layouts(state=None, structure=None)[source]
Return a layout to change the transformation options (that is, that controls the args and kwargs that will be passed to pymatgen).
The “state” option is so that the controls can be populated appropriately using existing args and kwargs, e.g. when restoring the control panel from a previous state.
- Parameters
state – existing state in format {“args”: [], “kwargs”: {}}
- Returns
- property title
- property transformation