cassidymwagner / fluidsf

FluidSF is a package used to calculate structure functions from fluid data.
https://cassidymwagner.github.io/fluidsf
MIT License
5 stars 3 forks source link

Allow binning regardless of datatype #14

Closed cassidymwagner closed 5 months ago

cassidymwagner commented 6 months ago

User can bin the data by setting nbins=int. Previous version required even=True and nbins=int, so even flag is removed.

Binning occurs in bin_data.py with pandas.DataFrame.groupby. This may be changed if necessary (i.e. allowing user-specified bin centers).