githubpsyche / pcitpy

The Probabilistic Curve Induction and Testing (P-CIT) toolbox, implemented in Python.
https://githubpsyche.github.io/pcitpy/
Apache License 2.0
0 stars 0 forks source link

**roundto.m**. `numpy.round_` might be sufficient. Try it. #21

Closed githubpsyche closed 4 years ago

githubpsyche commented 4 years ago

round_to is used in preprocessing_setup, common_to_all_curves, and simulate_data.

githubpsyche commented 4 years ago

Big difference is that round_ only works with integer input while round_to works with floats as well. I could easily make a wrapper function. Is it worth it? Yeah, to make the codebase simpler, it is.