mango.image.distance_spherical_histogram

mango.image.distance_spherical_histogram(input, sphhist, centreoffset=None, usevoxsz=False, voxunit='mm')

Populates bins of the specified spherical histogram with distance counts from the input mango.Dds image. Distance is the distance from a voxel coordinate to the SphericalHistogram.sphere_c coordinate.

Parameters:
  • input (mango.Dds) – Intensity counts from this image/array are added to the bins of the sphhist spherical histogram.
  • sphhist (SphericalHistogram) – Bins of this histogram are populated using data from the input image. The sphere centre (SphericalHistogram.sphere_c) is assumed to be a” global-index relative to the input.origin.”
  • centreoffset (3 sequence) – If not None the centre of the spherical histogram is moved to this index (i.e. moved to global index input.origin + centreoffset) before being populated with image count data. If None, the SphericalHistogram.sphere_c is used as the centreoffset.
  • usevoxsz (bool) – If True, indices are converted to spatial coordinates by multiplying by the voxel size.
  • voxunit (str) – Length-unit used for spatial coordinate conversion (e.g. 'nm','um','mm','cm',...)

Previous topic

mango.image.intensity_spherical_histogram

Next topic

mango.image.intensity_mult_distance_spherical_histogram

This Page