import rough.profile as profile
= [1,2,3,4,5,6,7]
line = 0) profile.Ra(line, axis
1.7142857142857142
Installation is simple via pip or cloning of this repository. Rough should integrate seamlessly with most workflows and projects. A python enviroment manager is generally recommended, I use conda.
Rough is functional package which works on numpy arrays (or objects which can be coerced into arrays). This documentation follows a literate programming paradigm. The docs are the code base and full of examples. All sections are available as .ipynb notebooks and can be opened using your preferred notebook interface to work with your own data.
Calculating the Ra
on a simple line or Profile:
1.7142857142857142
Or the Rms
Calculating the Sa
on a simple 2D Area:
Or the Sms