Contents

UnitFrequency

A unit of measure for frequency.

Declaration

class UnitFrequency

Overview

You typically use instances of UnitFrequency to represent specific quantities of frequency using the NSMeasurement class.

Frequency

Frequency is a quantity of occurrences for a repeating event over time. The SI unit for frequency is the hertz (Hz), which is a derived as one occurrence per second (1 Hz = 1 / 1s).

The UnitFrequency class defines its baseUnit() as hertz, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Coefficient

Terahertz

Terahertz

THz

1e12

Gigahertz

Gigahertz

GHz

1e9

Megahertz

Megahertz

MHz

1000000.0

Kilohertz

Kilohertz

kHz

1000.0

Hertz

Hertz

Hz

1

Millihertz

Millihertz

mHz

0.001

Microhertz

Microhertz

µHz

0.000001

Nanohertz

Nanohertz

nHz

1e-9

Topics

Accessing the Base Unit

Accessing Predefined Units

See Also

Time and Motion