template.class_template.SymmetryOrbitEQN._truncate

SymmetryOrbitEQN._truncate(size, axis=0)[source]

Decrease the size of the discretization along an axis

Parameters:
sizeint

The new size of the discretization.

axisint

Axis along which truncation occurs.

Returns:
Orbit

Orbit instance with smaller discretization.

Notes

The inverse of pad. Default behavior is to simply truncate in current basis in symmetric fashion along axis of numpy array specific by ‘axis’.