var h5ds = require('hdf5').h5ds;

Functions

h5ds.setScale(id, name, dimname)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → dataset name - the one to become a dimension scale
  • dimname → a dimension scale name.

h5ds.isScale(id, name)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → dataset name - the one to become a dimension scale
  • return ← true if it is a dimension scale.

h5ds.attachScale(id, dataset name, name, index)

  • id → the group or file id location. Every group and the file return with an id attribute
  • dataset name → dataset name to attach this scale.
  • name → dataset name - the dataset name of the dimension scale
  • index → the selected axis or rank.

h5ds.isAttached(id, dataset name, name, index)

  • id → the group or file id location. Every group and the file return with an id attribute
  • dataset name → dataset name to check for attachement.
  • name → dataset name - the dataset name of the dimension scale
  • index → the selected axis or rank for checking.
  • return ← true if it is attached to dataset.

h5ds.getNumberOfScales(id, dataset name, index)

  • id → the group or file id location. Every group and the file return with an id attribute
  • dataset name → dataset name to check.
  • index → the selected axis or rank for checking.
  • return ← # of scales on particular axis or rank.

h5ds.getScaleName(id, name)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → dataset name.
  • return ← dimension scale name.

h5ds.getLabel(id, name, index)

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → dataset name.
  • index → the selected axis or rank.
  • return ← the label.

h5ds.setLabel(id, name, index, label);

  • id → the group or file id location. Every group and the file return with an id attribute
  • name → dataset name.
  • index → the selected axis or rank.
  • label → what to call it.