utils (ndcube.utils)#
ndcube.utils.collection Module#
Functions#
| Checks whether two sets of aligned axes are compatible. | 
ndcube.utils.cube Module#
Functions#
| 
 | Find slice item that crops to minimum cube in array-space containing specified world points. | 
| 
 | Default algorithm for uncertainty propagation in  | 
| 
 | Sanitize inputs to NDCube crop methods. | 
| 
 | A wrapper for NDCube methods to sanitise the wcs argument. | 
ndcube.utils.misc Module#
Functions#
| 
 | Converts a sequence of Quantities to units used in the WCS. | 
| 
 | Return unique values in the order they are first encountered in the iterable. | 
ndcube.utils.sequence Module#
Utilities for ndcube sequence.
Functions#
| Converts a cube-like index for an NDCubeSequence to a sequence index and a common axis index. | |
| 
 | Convert a tuple for slicing an NDCubeSequence in the cube-like API to a list of SequenceItems. | 
Classes#
| 
 | Define SequenceItem named tuple of length 2. | 
Class Inheritance Diagram#
ndcube.utils.wcs Module#
Miscellaneous WCS utilities.
Functions#
| 
 | Calculate the array indices corresponding to each high level world object. | 
| 
 | Calculate the array indices corresponding to each high level world object. | 
| 
 | Given a string representation of a world axis or a numerical array index, convert it to a numerical world index aligning to the position in wcs.world_axis_object_components. | 
| 
 | Reflects axis index about center of number of axes. | 
| 
 | Find indices of all array axes associated with the world axes linked to the input array axis. | 
| 
 | Given a world axis physical type, return the dependent physical types including the input type. | 
| 
 | Find indices of all pixel axes associated with the world axes linked to the input pixel axis. | 
| 
 | Given a WCS world axis index, return indices of dependent WCS world axes. | 
| 
 | Gets the pixel axis indices corresponding to a world axis physical type. | 
| 
 | Returns world axis index of a physical type based on WCS world_axis_physical_types. | 
| 
 | Gets the world axis physical types corresponding to a pixel axis. | 
| 
 | Retrieves the indices of the world axis physical types corresponding to a pixel axis. | 
| 
 | Validate a list of physical types against the UCD1+ standard | 
| 
 | Gets the pixel axis indices corresponding to the index of a world axis. | 
