reconstruction
Reconstruct implicit axes. See the Julia documentation for details.
- dafpy.reconstruction. connect_axes ( dset : DafWriter , * , base_axis : str , from_axis : str , from_property : str | None = None , to_axis : str , to_property : str | None = None , connect_property : str | None = None , overwrite : bool | None = None ) None [source]
-
Given a
base_axiswith two vector properties, one holding a reference tofrom_axisand one toto_axis, create a property offrom_axisthat referencesto_axis. This is only possible if every entry offrom_axisis always associated with a single entry ofto_axis. See the Julia documentation for details.
- dafpy.reconstruction. reconstruct_axis ( dset : DafWriter , * , existing_axis : str , implicit_axis : str , rename_axis : str | None = None , implicit_properties : AbstractSet [ str ] | None = None , skipped_properties : AbstractSet [ str ] | None = None ) Mapping [ str , bool | int | float | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | float32 | float64 | str | None ] [source]
-
Given an
existing_axisin aDafdata set, which has a propertyimplicit_axis, create a new axis with the same name (or, if specified, call itrename_axis). An empty string means there is no value; data spelling that some other way should be passed throughunify_empty_vector_valuesfirst. See the Julia documentation for details.
- dafpy.reconstruction. unify_empty_vector_values ( dset : DafWriter , * , axis : str , property : str , empty_values : bool | int | float | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | float32 | float64 | str | Collection [ bool | int | float | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | float32 | float64 | str ] , dtype : Type | None = None , empty_value : bool | int | float | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | float32 | float64 | str | None = None ) None [source]
-
Replace every one of the
empty_valuesof apropertyof anaxiswith a singleempty_value, so that “there is no value here” is spelled one way, converting the property to adtypeon the way if one is given. See the Julia documentation for details.