How to disable dynamic baselining in Python?

Hello,

How does one disable dynamic baselining in Python? Python doesn’t find a “sensel.SetDynamicBaselineEnabled” function and a search of sensel.py doesn’t turn up any likely candidates.

I had no trouble doing this in C, but when I tried to disable dynamic baseline in an example Python script (which has “import sensel”, of course) but it results in this error:

    **NameError: name 'sensel.SetDynamicBaselineEnabled' is not defined**

(BTW, the link to “sensel.py” is broken on http://guide.sensel.com/api/#installation)

Thanks!

Hello Brad,

Thank you for contacting us. To disable dynamic baseline in python, use WriteReg to write a 0 into register 0x57. (SENSEL_REG_BASELINE_DYNAMIC_ENABLED).

Thank you for letting us know about the broken link.

Best,
-Alex