sandplover.strat.compute_boxy_stratigraphy_volume¶
- sandplover.strat.compute_boxy_stratigraphy_volume(elev, prop, sigma_dist=None, z=None, dz=None, nz=None, return_cube=False)¶
Process t-x-y data volume to boxy stratigraphy volume.
This function returns a “frozen” cube of stratigraphy with values of the supplied property/variable (
prop) placed into a three-dimensional real-valued 3D array.By default, the data are returned as a numpy ndarray, however, specify
return_Cubeas True to return aFrozenStratigraphyCube. If False, function :additionally returns an ndarray of elevations corresponding to the :stratigraphy positions.- Parameters:
elev (
ndarray) – The t-x-y ndarray of elevation data to determine stratigraphy.prop (
ndarray) – The t-x-y ndarray of property data to process into the stratigraphy.sigma_dist (
ndarray,float,int, optional) – Optional subsidence distance argument used to adjust the elevation data to account for subsidence when computing stratigraphy. See_adjust_elevation_by_subsidencefor a complete description.z (
ndarray, optional) – Vertical coordinates for stratigraphy, in meters. Optional, and mutually exclusive withdzandnz, see_determine_strat_coordinatesfor complete description.dz (
float, optional) – Vertical resolution of stratigraphy, in meters. Optional, and mutually exclusive withzandnz, see_determine_strat_coordinatesfor complete description.nz (
int, optional) – Number of intervals for vertical coordinates of stratigraphy. Optional, and mutually exclusive withzanddz, see_determine_strat_coordinatesfor complete description.return_cube (
boolean, optional) –Whether to return the stratigraphy as a
FrozenStratigraphyCubeinstance. Default is to return an ndarray andelevationsndarray.Warning
not implemented!
- Returns:
stratigraphy_cube (
StratigraphyCube) – Not Implemented.stratigraphy (
ndarray) – A z-x-y ndarray with data from prop placed into voxels to fill stratigraphy.elevations (
ndarray) – A z-x-y ndarray with elevations for each voxel in the stratigraphy array.