It is documented. *expression* is a valid Python expression involving any observation types > in the same record, or functions in the math module > <https://docs.python.org/3/library/math.html>.
https://www.weewx.com/docs/5.0/reference/weewx-options/stdcalibrate/#corrections On Sun, Jan 21, 2024 at 2:07 PM Graham Eddy <g...@geddy.au> wrote: > it is worth noting and perhaps documenting that python builtin functions > can be used in StdCalibrate expressions > *⊣GE⊢* > > On 22 Jan 2024, at 4:19 am, Tom Keffer <tkef...@gmail.com> wrote: > > Yes, of course. Just substitute "**" for "^" so it's a Python expression. > Or, use the math function pow(). > > On Sun, Jan 21, 2024 at 8:14 AM Steve2Q <stev...@gmail.com> wrote: > >> I have a calibration curve for my outdoor humidity sensor that includes >> division and an exponent. The formula is : OutHumidity = >> 92.2/(1+(1/(OutHumididty/64.6)^3.47)) Can this be handled by StdCalibrate? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to weewx-user+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/9e1d1a9b-faa3-48f9-8ca1-5cfeb712def9n%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/9e1d1a9b-faa3-48f9-8ca1-5cfeb712def9n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zEC1L-%3DKXyMTS9oKA%2Bs92%3DpVh2PDrMGAxKsNVp%2BUFHCY0A%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEC1L-%3DKXyMTS9oKA%2Bs92%3DpVh2PDrMGAxKsNVp%2BUFHCY0A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/9E0668B3-0B83-408A-8C16-2C01863E3287%40geddy.au > <https://groups.google.com/d/msgid/weewx-user/9E0668B3-0B83-408A-8C16-2C01863E3287%40geddy.au?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECtc9v_beuBz573V4XFSCpB%2BdzDbKDf1Jq6jp-6C6XyNQ%40mail.gmail.com.