Home > biosig > t200 > physicalunits.m

physicalunits

PURPOSE ^

PHYSICALUNITS converts PhysDim inte PhysDimCode and vice versa

SYNOPSIS ^

function [out,scale] = physicalunits(arg1)

DESCRIPTION ^

 PHYSICALUNITS converts PhysDim inte PhysDimCode and vice versa
 according to Annex A of FEF Vital Signs Format [1]

   HDR = physicalunits(HDR); 
    adds HDR.PhysDim or HDR.PhysDimCode, if needed

   PhysDim = physicalunits(PhysDimCode); 
    converts Code of PhysicalUnits into descriptive physical units 

   PhysDimCode = physicalunits(PhysDim); 
    converts descriptive units into Code for physical units. 

   [..., scale] = physicalunits(...);
    scale contains the scaling factor of the decimal prefix 

 see also: SLOAD, SOPEN, doc/DecimalFactors.txt, doc/units.csv

 Reference(s):
 [1] CEN/TC251/PT40 (2001)
     File Exchange Format for Vital Signs - Annex A
 [2] The Unified Code for Units of Measure (UCUM)
     http://aurora.regenstrief.org/UCUM/ucum.html

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003