- Another intermediate check-in.  I have the unit test lc simulator reporting all the values that the unit test needs.  I need to make sure the unit test simulator is reporting correct values for things like mid-transit times, and do a bug check.  Then I can move on and pass these to bls_pulse (need to convert to string like bls_pulse expects).
Merge pull request #15 from zonca/bls_vec

Bls vec segment by segment
- Unit test now passes lightcurve to bls_pulse_vec.
- Unit test simulator seems to be reporting correct mid-transit times, depths, etc.
- The bls_pulse unit tester now runs with the simulated lightcurve, as well as the normal way through standard input *I think*.  Now I need to mess around with the input parameters to try to get the bls_pulse to locate the various transits...
- I made a slight change to how the conversion from transit durations (in days) to durations in units of bins was done.  I'm happy that part is working as intended.
- Fixed how r_min is calculated.

- Changed how the lightcurve sample rate is calculated, it is now derived directly from the lightcurve instead of from a hard-coded value.  This allows us to run arbitrarily-sampled lightcurves through bls_pulse without extra logic and keywords, as long as those lightcurves have enough data points so that the median of the time differences between each point is a good estimate of the actual lightcurve sampling rate.  This should be true even for a single Kepler Quarter, and certainly true for simulated data if the simulated data is using a constant sampling and doesn't have (many) gaps.
- This is an intermediate code check-in, as I want to make sure latest changes are available in case someone is going to be messing around with any of these functions.  I'm still in the middle of testing bls_pulse and the unit test, so this may or may not run to completion.  The next check-in will be a stable check-in.
- Fixed two minor things real quick, a logic issue in bls_vec_simulator and a comment section update in test_bls_pulse.
- Fixed several bugs related to binning.
- pulse_bls now returns event information per segment in a pandas DataFrame object.
- Improved the print format to the screen.
- One more fix for binning.  I believe it's finding (most) of the transits correctly now for at least the first test case.  I need to investigate why it's missing a few of them, i.e., due to sampling/bad binning, errors/bugs, etc.
- Fixed bug in the bls_pulse simulator that was reporting incorrect transit duration lengths.
- The bls_pulse simulator and bls_pulse.py now report depths and durations in the same units.
- Update documentation of command line so users know they can suppress output entirely if they want to.
- Changed the segment size in the bls_pulse unit test to 5 days, since that makes a difference whether it finds all simulated transits, or only some.  The segment size and # bins per segment are parameters that WILL need to be tweaked substantially, as results are stronly dependent on those choices.
Better not use the unit in the label
Rewrote bls_pulse_vec, now computes also metadata
Improved duration and depth computation, issue #11
- Changed ouptut to screen for the test unit.  Now runs with pass/fail criteria.  First full version of the unit tester.
Moved some older files into a subdirectory out of the way, updated the README file in this directory.
- Added README file for top-level python files and folders.
- Removed "phase" from bls_pulse.py, as explained in Issue #16.
Implementation of detrending using PyKE

Segment by segment detrending using
polynomial fitting with sigma clipping from PyKE
Added PyKE as git submodule