<jupyter_start><jupyter_text>This function is pretty simple, the inputs are the outdoor temperature and thermistor resistance and outputs the delta temperature. That long equation is the conversion from thermistor resistance (ohms) to temperature (F)From here: http://www.vishay.com/docs/29049/ntcle100.pdf<jupyter_code>import numpy as np

def deltaT(outdoorT, thermistor):
    indoorT = round(((3.354*10**-3 + (2.56985*10**-4)*np.log(thermistor/10000) + 
                (2.620131*10**-6)*np.log( thermistor/10000)**2 + 
                (6.383091*10**-8)*np.log( thermistor/10000)**3)**-1 - 273.15)*1.8 + 32, 2)
    #print(indoorT)
    return(indoorT - outdoorT)

print(deltaT(32.1, 13248))<jupyter_output>33.550000000000004
{'fraction_non_alphanumeric': 0.14482758620689656, 'fraction_numerical': 0.13379310344827586, 'mean_word_length': 4.185714285714286, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '226956', 'license': 'MIT', 'n_tokens_mistral': 322, 'n_tokens_neox': 257, 'n_words': 55, 'path': 'miscellaneous/return-deltaT.ipynb', 'repo_name': 'atvilagi/Kotzebue', 'size': '725'}