Skip to content

Commit

Permalink
spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jveitchmichaelis committed Jul 20, 2020
1 parent 373b199 commit e337451
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flirpy/util/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

def raw2temp(raw, meta):
"""
Convert raw pixel values to temperature, if calibration coefficients are known.
Convert raw pixel values to temperature, if calibration coefficients are known. The
equations for atmospheric and window transmission are found in Minkina and Dudzik, as
well as some of FLIR's documentation.
Roughly ported from ThermImage: https://github.com/gtatters/Thermimage/blob/master/R/raw2temp.R
Expand All @@ -27,7 +29,7 @@ def raw2temp(raw, meta):
RTemp = float(meta["Reflected Apparent Temperature"].split('C')[0])
humidity = float(meta["Relative Humidity"].split('%')[0])

# Equations to conert to temperature
# Equations to convert to temperature
# See http://130.15.24.88/exiftool/forum/index.php/topic,4898.60.html
# Standard equation: temperature<-PB/log(PR1/(PR2*(raw+PO))+PF)-273.15
# Other source of information: Minkina and Dudzik's Infrared Thermography: Errors and Uncertainties
Expand Down

0 comments on commit e337451

Please sign in to comment.