Cube Histogram
See the source code: FITS | CASA | HDF5
Measures the time to compute a full cube histogram across all channels. The HDF5 format
pre-computes histograms at write time, so the HDF5 variant uses a much tighter timeout
(500 ms vs 300,000 ms) to verify the cached result is returned quickly. The elapsed time
is measured between the SET_HISTOGRAM_REQUIREMENTS request and the
REGION_HISTOGRAM_DATA response with progress = 1.
Frontend opens
cube_B_06400_z00100.<fits|image|hdf5>and loads initial tilesFrontend sends: SET_HISTOGRAM_REQUIREMENTS (
SetHistogramRequirements)file_id = 0 region_id = -2 histograms = [{channel: -2, num_bins: -1}]Backend streams: REGION_HISTOGRAM_DATA with increasing progress
Check 1: within the cube histogram timeout:
FITS/CASA: 300,000 ms
HDF5: 500 ms (pre-computed)
REGION_HISTOGRAM_DATA reaches progress = 1