StackARef¶
- class ipkiss3.all.StackARef(reference, origin=(0.0, 0.0), period=(1.0, 1.0), n_o_periods=(1, 1), transformation=None, stack_size=20, **kwargs)¶
An array reference that automatically breaks down the array into a hierarchical set of single references.
- Parameters
- n_o_periods: Tuple of <class ‘int’> and length == 2, required
Number of periods (Nx, Ny)
- period: Coord2, required
Period of the array (period_x, period_y)
- reference: _LayoutView, required
- stack_size: int and number > 0, optional
size of the group of single references before it is broken down into subgroups
- origin: Coord2, optional
Origin of the array
- flatten: ( bool, bool_, bool or int ), optional
if True, it will insert the references elements on export, rather than the reference itself
- name: ( String that contains only alphanumeric characters from the ASCII set or contains _$<>. ASCII set is extended on PY3. ), optional, *None allowed*
Unique name of the instance within the scope of the View/Cell
- owner: ( _View ), optional, *None allowed*
link to the owner of the instance.In most cases this is automatically added by the _generate_instances method
- transformation: GenericNoDistortTransform, optional