pysigrok  0.4.0
Python bindings for libsigrok
Static Public Attributes | List of all members
sigrok.core.classes.Unit Class Reference

Unit of measurement. More...

+ Inheritance diagram for sigrok.core.classes.Unit:

Static Public Attributes

 VOLT
 
 AMPERE
 Ampere (current). More...
 
 OHM
 Ohm (resistance). More...
 
 FARAD
 Farad (capacity). More...
 
 KELVIN
 Kelvin (temperature). More...
 
 CELSIUS
 Degrees Celsius (temperature). More...
 
 FAHRENHEIT
 Degrees Fahrenheit (temperature). More...
 
 HERTZ
 Hertz (frequency, 1/s, [Hz]). More...
 
 PERCENTAGE
 Percent value. More...
 
 BOOLEAN
 Boolean value. More...
 
 SECOND
 Time in seconds. More...
 
 SIEMENS
 Unit of conductance, the inverse of resistance. More...
 
 DECIBEL_MW
 An absolute measurement of power, in decibels, referenced to 1 milliwatt (dBu). More...
 
 DECIBEL_VOLT
 Voltage in decibel, referenced to 1 volt (dBV). More...
 
 UNITLESS
 Measurements that intrinsically do not have units attached, such as ratios, gains, etc. More...
 
 DECIBEL_SPL
 Sound pressure level, in decibels, relative to 20 micropascals. More...
 
 CONCENTRATION
 Normalized (0 to 1) concentration of a substance or compound with 0 representing a concentration of 0%, and 1 being 100%. More...
 
 REVOLUTIONS_PER_MINUTE
 Revolutions per minute. More...
 
 VOLT_AMPERE
 Apparent power [VA]. More...
 
 WATT
 Real power [W]. More...
 
 WATT_HOUR
 Consumption [Wh]. More...
 
 METER_SECOND
 Wind speed in meters per second. More...
 
 HECTOPASCAL
 Pressure in hectopascal. More...
 
 HUMIDITY_293K
 Relative humidity assuming air temperature of 293 Kelvin (rF). More...
 
 DEGREE
 Plane angle in 1/360th of a full circle. More...
 
 HENRY
 Henry (inductance). More...
 
 GRAM
 Mass in gram [g]. More...
 
 CARAT
 Mass in carat [ct]. More...
 
 OUNCE
 Mass in ounce [oz]. More...
 
 TROY_OUNCE
 Mass in troy ounce [oz t]. More...
 
 POUND
 Mass in pound [lb]. More...
 
 PENNYWEIGHT
 Mass in pennyweight [dwt]. More...
 
 GRAIN
 Mass in grain [gr]. More...
 
 TAEL
 Mass in tael (variants: Hong Kong, Singapore/Malaysia, Taiwan) More...
 
 MOMME
 Mass in momme. More...
 
 TOLA
 Mass in tola. More...
 
 PIECE
 Pieces (number of items). More...
 
tuple id
 
tuple name
 
- Static Public Attributes inherited from sigrok.core.classes.EnumValueUnit
tuple get
 

Additional Inherited Members

- Public Member Functions inherited from sigrok.core.classes.EnumValueUnit
def id (self)
 The integer constant associated with this value. More...
 
def name (self)
 The name associated with this value. More...
 

Detailed Description

Unit of measurement.

Member Data Documentation

sigrok.core.classes.Unit.AMPERE
static

Ampere (current).

sigrok.core.classes.Unit.OHM
static

Ohm (resistance).

sigrok.core.classes.Unit.FARAD
static

Farad (capacity).

sigrok.core.classes.Unit.KELVIN
static

Kelvin (temperature).

sigrok.core.classes.Unit.CELSIUS
static

Degrees Celsius (temperature).

sigrok.core.classes.Unit.FAHRENHEIT
static

Degrees Fahrenheit (temperature).

sigrok.core.classes.Unit.HERTZ
static

Hertz (frequency, 1/s, [Hz]).

sigrok.core.classes.Unit.PERCENTAGE
static

Percent value.

sigrok.core.classes.Unit.BOOLEAN
static

Boolean value.

sigrok.core.classes.Unit.SECOND
static

Time in seconds.

sigrok.core.classes.Unit.SIEMENS
static

Unit of conductance, the inverse of resistance.

sigrok.core.classes.Unit.DECIBEL_MW
static

An absolute measurement of power, in decibels, referenced to 1 milliwatt (dBu).

sigrok.core.classes.Unit.DECIBEL_VOLT
static

Voltage in decibel, referenced to 1 volt (dBV).

sigrok.core.classes.Unit.UNITLESS
static

Measurements that intrinsically do not have units attached, such as ratios, gains, etc.

sigrok.core.classes.Unit.DECIBEL_SPL
static

Sound pressure level, in decibels, relative to 20 micropascals.

sigrok.core.classes.Unit.CONCENTRATION
static

Normalized (0 to 1) concentration of a substance or compound with 0 representing a concentration of 0%, and 1 being 100%.

sigrok.core.classes.Unit.REVOLUTIONS_PER_MINUTE
static

Revolutions per minute.

sigrok.core.classes.Unit.VOLT_AMPERE
static

Apparent power [VA].

sigrok.core.classes.Unit.WATT
static

Real power [W].

sigrok.core.classes.Unit.WATT_HOUR
static

Consumption [Wh].

sigrok.core.classes.Unit.METER_SECOND
static

Wind speed in meters per second.

sigrok.core.classes.Unit.HECTOPASCAL
static

Pressure in hectopascal.

sigrok.core.classes.Unit.HUMIDITY_293K
static

Relative humidity assuming air temperature of 293 Kelvin (rF).

sigrok.core.classes.Unit.DEGREE
static

Plane angle in 1/360th of a full circle.

sigrok.core.classes.Unit.HENRY
static

Henry (inductance).

sigrok.core.classes.Unit.GRAM
static

Mass in gram [g].

sigrok.core.classes.Unit.CARAT
static

Mass in carat [ct].

sigrok.core.classes.Unit.OUNCE
static

Mass in ounce [oz].

sigrok.core.classes.Unit.TROY_OUNCE
static

Mass in troy ounce [oz t].

sigrok.core.classes.Unit.POUND
static

Mass in pound [lb].

sigrok.core.classes.Unit.PENNYWEIGHT
static

Mass in pennyweight [dwt].

sigrok.core.classes.Unit.GRAIN
static

Mass in grain [gr].

sigrok.core.classes.Unit.TAEL
static

Mass in tael (variants: Hong Kong, Singapore/Malaysia, Taiwan)

sigrok.core.classes.Unit.MOMME
static

Mass in momme.

sigrok.core.classes.Unit.TOLA
static

Mass in tola.

sigrok.core.classes.Unit.PIECE
static

Pieces (number of items).


The documentation for this class was generated from the following file: