orbithunter.core.Orbit.shapes

Orbit.shapes()[source]

The possible shapes of the current state based on discretization and basis.

Returns
tuple :

Contains shapes of state in all bases, ordered with respect to self.bases_labels() ordering.

Notes

This function is used for operations which require the shape of the state array in a different basis. These shapes are defined by the transforms, essentially, but it is wasteful to transform simply for the shape, and the amount of boilerplate code to constantly infer the shape justifies this method in most cases.