Skip to content

seaMass Output format (smo)

Andrew Dowsey edited this page Aug 5, 2016 · 5 revisions

Note that this format is temporary until our NetCDF4 R-Tree visualisable format is completed.

This is the output format when the input format is seaMass Input format (smi). It is very close to seaMass' internal output format. The output file contains the following HDF5 dataset:

  • coeffs: A 1- or higher dimensional array of cubic B-spline coefficients representing the output B-spline curve or surface. The dataset has attributes:
  • interval: A tuple of size equal to the number of dimensions. Defines the physical distance between B-spline coefficients in each dimension, which is just the 'mz_res' (where B-splines per Th = 2^mz_res * 60 / 1.0033548378) and 'rt_res' (where B-splines per minute = 2^rt_res) parameters used to invoke seaMass.
  • offset: A tuple of size equal to the number of dimensions. Denotes the physical location of the first cubic B-spline basis function in coeffs, given in multiples of interval. Note that the bell curve of the cubic B-spline basis function with offset 0 spans from -3 to 1 multiples of interval, hence the basis function with offset i spans from i-3 to i+1.
Clone this wiki locally