1pu(1)                       General Commands Manual                      pu(1)
2
3
4

NAME

6       pu/phyisicalunits  - encodes and de-codes physical units a according to
7       ISO/IEEE 11073-10101:2004 Tables A6.1 and A6.3
8
9

SYNOPSIS

11         pu [units_or_codes]
12
13

DESCRIPTION

15       The output returns the <physical  unit>:<TAB><decimal  code><TAB><hexa‐
16       decimal code><TAB><scaling><TAB><physical unit w/o prefix>, where <TAB>
17       represents the character ascii(9)
18
19

Examples:

21         Encoding of "microVolts", using text representation, decimal encoding
22       and hexadecimal encoding:
23         pu mV
24               uV     4275 0x10b3    1e-06     V
25
26         pu 4275
27               uV     4275 0x10b3    1e-06     V
28
29         pu 0x10b3
30               uV     4275 0x10b3    1e-06     V
31
32         Text representation containing spaces need to be quoted
33         pu "kg l-1"
34               kg l-1 2051 0x0803    1000 g l-1
35
36         A list of units can be converted using multiple input arguments
37         pu mV nA 4180 kg dag degree rpm "mol mol-1" "kg l-1"
38               mV     4274 0x10b2    0.001     V
39               nA     4180 0x1054    1e-09     A
40               nA     4180 0x1054    1e-09     A
41               kg     1731 0x06c3    1000 g
42               dag    1729 0x06c1    10   g
43               degree 736  0x02e0    1    degree
44               rpm    6816 0x1aa0    1    rpm
45               mol mol-1   864  0x0360    1    mol mol-1
46               kg l-1 2051 0x0803    1000 g l-1
47
48          pu `seq 0 65535` |grep -v nan |grep -v null
49               shows s complete table of defined units
50
51

AUTHOR

53       Alois Schloegl
54
55

REPORTING BUGS

57       Report bugs to <biosig-general@lists.sourceforge.net>
58
59
61       Copyright (C) 2008-2015 Alois Schloegl License GPLv3+:  GNU GPL version
62       3 or later <http://gnu.org/licenses/gpl.html> This  is  free  software:
63       you   are free to change and redistribute it.  There is NO WARRANTY, to
64       the extent permitted by law.
65
66

RESOURCES

68       http://biosig.sf.net
69
70
71
72
73                                                                         pu(1)
Impressum