Skip to content

Commit

Permalink
Osc layers (#639)
Browse files Browse the repository at this point in the history
* new tool to retrieve bin index of a SmartArray being histogrammed

* updates to bin_indexing

* now importing find_index from translation.py (in bin_indexing.py)

* added test for bin_indexing and fixed logic failure in find_index

* removed bad comment logic from fin_index

* fixed find_index. binning convention now uniform

* removed superfluous conditions in lookup functions of translation.py

* fixed test of bin_indexing

* removing superfluous statements breaks the histograms. reverting back

* fixed test name

* fixups

* bugfix: lookup indices i8; bugfix: logging.trace formatting

* __all__ updated with test functions

* allow lookup_indices to take OneDimBinning

* fixed import in bin_indexing

* change path length calculation

* change path length calculation

* re-wrote previously buggy segment distance calculations.

* re-wrote previously buggy segment distance calculations.

* Adhoc systematic for additional blind fit checks (#642)

* add ad-hoc systematic stage to correct one variable to match data

* add more to doc string

* attempting fix of np.flip

* attempting to fix layers module

* cleaning up formatting a little bit

* updates to layers

* code does not completely fails, but gives the wrong distances

* layers is self consistent now

* layers is self consistent now

* layers is self consistent now

* layers is self consistent now

* layers is self consistent now

* layers is self consistent now

* fix FTYPE error in layers module

Co-authored-by: J.L. Lanfranchi <jll1062@phys.psu.edu>
Co-authored-by: Alexander Trettin <alexander.trettin@physik.hu-berlin.de>
Co-authored-by: Philipp Eller <peller.phys@gmail.com>
  • Loading branch information
4 people authored Jan 26, 2021
1 parent d9cd570 commit 8724e76
Showing 1 changed file with 354 additions and 189 deletions.
Loading

0 comments on commit 8724e76

Please sign in to comment.