Moments
See the source code: FITS | CASA | HDF5
Measures the time to generate all 13 moment images from a spectral cube. The elapsed time
is measured between the MOMENT_REQUEST request and the MOMENT_RESPONSE response.
Frontend sends: OPEN_FILE (
OpenFile)directory = "set_QA_performance" file = "S255_IR_sci.spw25.cube.I.pbcor.<fits|image|hdf5>" file_id = 0
Frontend loads tiles, sets cursor at (960, 960), and requests spectral profile
Frontend sends: MOMENT_REQUEST (
MomentRequest) for all 13 momentsfile_id = 0 moments = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] axis = SPECTRAL mask = Include pixel_range = {min: 0.1, max: 1.0} spectral_range = {min: 0, max: 400} rest_freq = 335500000000The 13 moment types: Average, Integrated, Weighted Coordinate, Weighted Dispersion Coordinate, Median, Median Coordinate, Standard Deviation, RMS, Abs Mean Deviation, Maximum, Maximum Coordinate, Minimum, Minimum Coordinate.
Backend returns: MOMENT_RESPONSE with 13
openFileAcks
Check 1: within the momentTimeout (400,000 ms):
MOMENT_RESPONSE.success = True
MOMENT_RESPONSE.openFileAcks.length = 13
All openFileAcks[].success = True