neurots.basic

A file to store general basic functionality needed in different modules.

Functions

round_num(num[, decimal_places])

Rounds a number to the selected num of decimal places.

neurots.basic.round_num(num, decimal_places=4)

Rounds a number to the selected num of decimal places.

This allows consistency throughout the method and avoids numerical artifacts.