[NeXus-definitions-tickets] [NeXusDefinitions] #9: Make a list of all units used in NeXus
NeXus Base Classes and Instrument Definitions
noreply at nexusformat.org
Thu Nov 13 20:28:35 GMT 2008
#9: Make a list of all units used in NeXus
---------------------------+------------------------------------------------
Reporter: Peter Peterson | Owner: Paul Kienzle
Type: enhancement | Status: new
Priority: major | Resolution:
Keywords: NIAC2006LBL |
---------------------------+------------------------------------------------
Comment (by Paul Kienzle):
Run the attached program:
$ python getunits.py -c */*.xml
If we agree on [http://www.nexusformat.org/Units] most of these will be
easy to convert to standard form.
Derived SI units are here: [http://en.wikipedia.org/wiki/SI_derived_unit]
I suggest leaving dimensionless blank, and number as number.
{{{
$ python getunits.py -c */*.xml
237
4 10-3 meter|10-2 meter
2 10-6 second|10-7 second
2 10^-3 meter|10^-2 meter
1 10^-6 second|10^-7 second
5 Angstrom
2 Angstrom^-1
8 Angstroms
6 Angstroms3
2 G
3 Hz
2 K
3 Kelvin
2 MW
3 MeV
9 amperes
4 arc minutes
4 barns
3 bars
1 centimeter
46 cm
1 cm-2
24 degree
24 degrees
2 dimensionless
1 eV
2 g
2 g cm-3
2 g.cm-3
1 gauss
1 hertz
1 kelvin
19 m
9 meV
4 meter
29 metre
1 mg
1 mg.cm-3
3 micro.second
2 microamps
4 microsecond
2 microseconds
8 mili*metre
4 milimetre
4 minute
2 minutes
7 mm
4 nm
2 ns
7 number
1 pascal
2 radians
4 rpm
2 rpm|hertz
2 s-1cm-2
3 second
7 seconds
5 steradians
1 uA
4 us
1 {units of logged value}
1 {units of raw values}
8 {unit}
17 {}
}}}
--
Ticket URL: <http://trac.nexusformat.org/definitions/ticket/9#comment:2>
NeXus Base Classes and Instrument Definitions <http://www.nexusformat.org/>
NeXus Base Classes and Instrument Definitions
More information about the NeXus-definitions-tickets
mailing list