Write GSE2 file, given the header and data.
Currently supports only CM6 compressed GSE2 files, this should be sufficient for most cases. Data are in circular frequency counts, for correction of calper multiply by 2PI and calper: data * 2 * pi * header[‘calper’].
Warning: The data are actually compressed in place for performance issues, if you still want to use the data afterwards use data.copy()
Note : | headdict dictionary entries C{‘datatype’, ‘n_samps’, ‘samp_rate’} are absolutely necessary |
---|---|
Parameters: |
|