Logarithm decibels. In a similar vein, the peak signal-to-noise ratio is commonly used to assess the quality of sound and image compression methods using the logarithm. The strength of an earthquake is measured by taking the common logarithm of the energy emitted at the quake. This is used in the moment magnitude scale or the Richter magnitude scale. For example, a 5.0 earthquake releases 32 times and a 6.0 releases 1000 times the energy of a 4.0. Another logarithmic scale is apparent magnitude. It measures the brightness of stars logarithmically. Yet another example is pH in chemistry; pH is the negative
Logarithmic scale the value of a logarithm function. Here, a given logarithmic unit will be denoted using the notation [log "n"], where "n" is a positive real number, and [log ] here denotes the indefinite logarithm function Log(). Examples of logarithmic units include common units of information and entropy, such as the "bit" [log 2] and the "byte" 8[log 2] = [log 256], also the "nat" [log e] and the "ban" [log 10]; units of relative signal strength magnitude such as the "decibel" 0.1[log 10] and "bel" [log 10], "neper" [log e], and other logarithmic-scale units such as the Richter magnitude scale