In [1]:
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
from glob import glob

In [4]:
datadir = '../../BigData/kaggle-right-whale/right_whale_hunt/imgs/'

In [11]:
df = pd.read_csv(datadir + 'whale_00195/posteriorpdf_rebin_512walkers_w_2753.csv')

In [12]:
plt.plot(df['lnprob'].max() - df['lnprob'], ',')
plt.semilogy()


Out[12]:
[]

In [13]:
plt.plot(df['lnprob'].max() - df['lnprob'], df['rotation_angle'], ',')
plt.semilogx()
#plt.axis([1,1e6,62,68])


Out[13]:
[]

In [61]:
25000/60./24


Out[61]:
17.36111111111111

In [66]:
whaledirs = glob(datadir + 'whale_*')

In [69]:
counter = 0
for whaledir in whaledirs:
    if whaledir[-5:] == '10977':
        print(counter, whaledir)
    counter += 1


(48, '../../../BigData/kaggle-right-whale/right_whale_hunt/imgs/whale_10977')

In [ ]: