cf.Domain.insert_transform

Domain.insert_transform(transform, copy=True, key=None, replace=False, finalize=True)[source]

Insert a transform construct into the domain in place.

Parameters :
transform : cf.Transform

The new transform.

copy : bool, optional

If False then the new transform will not be deep copied. By default the transform will be deep copied prior to insertion.

key : str, optional

The identifier for the new coordinate. By default a unique identifier will be generated.

Returns :
out : str

The key of the new transform in the domain’s transforms dictionary.

Examples

>>>

Previous topic

cf.Domain.insert_dim

Next topic

cf.Domain.item

This Page