Region Spectral Profile
See the source code: FITS | CASA | HDF5
Measures the time to compute a mean spectral profile over a large rectangular region on a
1000-channel cube. The elapsed time is measured between the SET_SPECTRAL_REQUIREMENTS
request and the SPECTRAL_PROFILE_DATA response with progress = 1.
Frontend sends: OPEN_FILE (
OpenFile)directory = "set_QA_performance" file = "cube_B_03200_z01000.<fits|image|hdf5>" file_id = 0
Frontend loads tiles and sets cursor at (1, 1)
Frontend sends: SET_REGION (
SetRegion)region_type = RECTANGLE control_points = [{x: 800, y: 800}, {x: 400, y: 400}] rotation = 0Frontend sends: SET_SPECTRAL_REQUIREMENTS (
SetSpectralRequirements)file_id = 0 region_id = 1 spectral_profiles = [{coordinate: "z", stats_types: [Mean]}]Backend streams: SPECTRAL_PROFILE_DATA with increasing progress
Check 1: within 120,000 ms:
SET_REGION_ACK.success = True
SPECTRAL_PROFILE_DATA reaches progress = 1