move imports for mpfit and peakanalysis inside functions
Merge branch 'master' of https://github.com/ucsbdeepspace/cofe-python-analysis-tools
modified datparsing to avoid some errors in bad revs, modify dtypes to make cutoff for badrevs=16 (from 15)