aedes_voxdims() returns image voxel dimensions used to scale
between raw and nm coordinates.
Usage
aedes_voxdims(url = choose_aedes(set = FALSE)[["fafbseg.sampleurl"]])
aedes_nm2raw(x, vd = aedes_voxdims())
aedes_raw2nm(x, vd = aedes_voxdims())Arguments
- url
Optional Neuroglancer URL containing voxel size metadata. Defaults to the active Aedes sample URL.
- x
3D coordinates in any form compatible with
nat::xyzmatrix().- vd
Voxel dimensions in nm. Advanced use; normally detected automatically.
Value
For aedes_voxdims(), a numeric 3-vector.
For aedes_raw2nm() and aedes_nm2raw(), an N x 3 numeric matrix.
Details
See the Axis conventions section of aedes_neuropil_mesh for the anatomical directions of the x, y and z axes (the volume is mirrored).