11.1.2. bifrost.views package¶
11.1.2.1. Submodules¶
11.1.2.2. bifrost.views.basic_views module¶
- bifrost.views.basic_views.add_axis(block, axis, label=None, scale=None, units=None)[source]¶
Add an extra dimension to the frame at position ‘axis’
E.g., if the shape is [-1, 3, 2], then selecting axis=1 would change the shape to be [-1, 1, 3, 2].
Axis may be negative, or a string corresponding to an existing axis label, in which case the new axis is inserted after the referenced axis.
- bifrost.views.basic_views.custom(block, hdr_transform)[source]¶
An alias to bifrost.pipeline.block_view
- bifrost.views.basic_views.delete_axis(block, axis)[source]¶
Remove a unitary dimension from the frame
E.g., if the shape is [-1, 1, 3, 2], then selecting axis=1 would change the shape to be [-1, 3, 2].
Axis may be negative, or a string corresponding to an existing axis label.
- bifrost.views.basic_views.reinterpret_axis(block, axis, label, scale=None, units=None)[source]¶
Manually reinterpret the scale and/or units on an axis