/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

glowingpython.blogspot.com
| | gist.github.com
2.6 parsecs away

Travel
| | Implementing a Network-based Model of Epilepsy with Numpy and Numba. Code for https://danielegrattarola.github.io/posts/2019-10-03/epilepsy-model.html - eeg_generator_numba.py
| | mika-s.github.io
2.2 parsecs away

Travel
| | One thing that can be hard to get right is the mapping from to radians to to radians. Or to to -180° to 180°. I've been unable to find information about it with Google (except for the functions that comes with Matlab), so I decided to share a function I've made that does the transformation. In C#: void TransformToPipi(double inputAngle, out double outputAngle, out int revolutions) { revolutions = (int)((inputAngle + Math.Sign(inputAngle) * Math.PI) / (2 * Math.PI)); outputAngle = (inputAngle + Math.Sign(inputAngle) * Math.PI) % (2 * Math.PI) - (Math.Sign(Math.Sign(inputAngle) + 2 * (Math.Sign(Math.Abs(((inputAngle + Math.PI) % (2 * Math.PI)) / (2 * Math.PI))) - 1))) * Math.PI; } The function takes an angle in radians as input and outputs an angle between and...
| | randalolson.com
2.4 parsecs away

Travel
| | Randy Olson shows how you can create your own traveling salesman portrait using Python.
| | clutterreport.wordpress.com
10.1 parsecs away

Travel
| attempting to clean up my living and workspace