def run():

    #logger = Logger('/Users/kim/Temp/test.log').getLogger()
    logger = Logger().getLogger()

    date, mag, err = load_EROS_lc()

    index = mag < 99.999
    date = date[index]
    mag = mag[index]
    err = err[index]

    '''
    import numpy as np
    np.random.seed(1024)
    date = np.random.randn(1000) + 1000.
    mag = np.random.randn(1000) + 20.
    err = np.array([1.] * len(mag))
    '''

    logger.info('Before sigma-clipping: %d data points' % len(date))
    date, mag, err = sigma_clipping(date, mag, err)
    logger.info('After sigma-clipping: %d data points' % len(date))

    for i in range(1):
        start = time.time()
        e_features = ExtractFeatures(date, mag, err)
        end = time.time()
        logger.info('Initializing time: %.4f seconds' % (end - start))

        start = time.time()
        e_features.shallow_run()
        end = time.time()
        logger.info('Shallow-run processing time: %.4f seconds' % (end - start))

        start = time.time()
        e_features.deep_run()
        end = time.time()
        logger.info('Deep-run processing time: %.4f seconds' % (end - start))

    logger.info('Extracted features:')
    features = e_features.get_features_all()
    for key, value in features.iteritems():
        logger.info('   %s: %f' % (key, value))

    logger.info('Finished')
Starts the main loop of the groomer thread.
dataset/ETHPy150Open dwkim78/upsilon/upsilon/test/extract_features.py/run--crossover with--dataset/ETHPy150Open AppScale/appscale/AppDB/groomer.py/DatastoreGroomer.run