For multi-quadrant data, with identical quadrants as might be produced by overlapping sectors of an autocorrelation spectrometer. This routine determines the offset between any two quadrants in the overlap region, resamples the second quadrant onto the sampling of the first, and then averages them together with some approximate (parabolic) weighting scheme in the overlap region. This process is iterated over all quadrants, to give a single final spectrum; scan header parameters are then modified appropriately.
MERGE_OFFSET |
L4 | If TRUE then minimize offset in overlap. |
Examples:
>> merge-quadrant<CR>
Are sectors to be offset? (Y/N) [N]<CR>
Frequency coverage of re-ordered original spectrum
Quad. Centre freq. Increment Start End
(GHz) (MHz) (MHz ) (MHz )
-------------------------------------------------------------------
1 345.608500 0.3125 0.3125 -259.7396 -100.0521
2 345.733500 0.3125 0.3125 -134.7368 24.9506
3 345.858500 0.3125 0.3125 -9.7341 149.9534
4 345.983500 0.3125 0.3125 115.2687 274.9561
(centre quadrant is 0 )
Frequency coverage of merged spectrum
Quad. Centre freq. Increment Start End
(GHz) (MHz) (MHz ) (MHz )
-------------------------------------------------------------------
1 345.733500 0.3125 0.3125 -259.7218 274.9657
..