adding separate packaging routine
first pass functioning code, including automatic noise cal and channel weighting