zfit / zfit-development

The developement repository for zfit with roadmaps, internal docs etc to clean up the issues
0 stars 2 forks source link

Helper - API and specs #12

Open jonas-eschle opened 5 years ago

jonas-eschle commented 5 years ago

@mayou36 commented on Mon Oct 15 2018

Range class

takes care of the limits/norm_range objects logic for init (for converting tuples):

Logic:

Stable output: get_boundaries() returns lower, upper boundaries. These can be a list of tuples and define the boundaries uniquely. Other methods and additions etc may change things in the future.

Why implement:

Expected methods: deal with things like: n_dims, has_infinites, etc.

Usage: autoconvert tuples from outside and use internally (as commonly done with such objects like, ranges, indexes etc.)