kahaaga / UncertainData.jl

Working efficiently with datasets where observations have associated uncertainties.
https://kahaaga.github.io/UncertainData.jl/dev
MIT License
17 stars 5 forks source link

Control how bins are represented when using `BinnedResampling` #135

Closed kahaaga closed 4 years ago

kahaaga commented 4 years ago

The user should be able to control what happens to the values in each bin when using resample(::AbstractUncertainIndexValueDataset, ::BinnedResampling).

This can easily be solved by adding an optional bin_repr field to the BinnedResampling struct, which dictates the bin representation. bin_repr can be a type indicating the representation

kahaaga commented 4 years ago

Solved in #137