to_code_units#

Note

This method is available on both Load and LoadPart.

SetUnitsManager.to_code_units(var: str | Iterable[str] | bool | None = None, skip_units: str | Iterable[str] | None = None) None[source]

Convert selected astropy Quantity variables back to code units.

Parameters:
- var: str | Iterable[str] | bool | None, default None

The variable(s) to select for unit operations.

- skip_units: str | Iterable[str] | None, default None

The unit(s) to skip during operations.

Returns:
  • None