I am trying to use a C function to calculate the Sahnnon entropy within a Python script, using the ctypes library.
I have consulted some tutorials, and according to w