empty_like#

caput.containers.empty_like(cont: caput.containers._core.ContainerPrototype, **kwargs: dict) caput.containers._core.ContainerPrototype[source]#

Create an empty container with the same properties as cont.

Parameters:
contContainerPrototype

Container to base this one off.

**kwargsdict

Optional definitions of specific axes we want to override. Works in the same way as the ContainerPrototype constructor, though axes_from=obj and attrs_from=obj are implied.

Returns:
containerContainerPrototype

New, empty container.