xarray.DataArray.kspace.as_configuration

DataArray.kspace.as_configuration(self, configuration)[source]

Return a new DataArray with modified experimental configuration.

The coordinates of the new DataArray are renamed to match the given configuration. The original data is not modified.

Parameters:

configuration (AxesConfiguration | int) – The new configuration to apply.

Note

This method assumes a conversion between 4 typical setups listed in the table in Nomenclature. Any non-standard setups should be handled by the user.