"""
@copyright: 2013 by Pauli Rikula <*****@*****.**>
@license: MIT <http://www.opensource.org/licenses/mit-license.php>
"""

from parse_willab_data import get_data
from signal_tools import interpolateSignal

from plot_tools import makeplot, monthly, no_locator_set
import datetime

if __name__ == "__main__":
    delta = datetime.timedelta(0,600,0)
    signal = get_data()
    makeplot(signal, monthly, step = 2)
    new_signal = list( interpolateSignal(signal, delta) )
    makeplot(new_signal, monthly, step = 2)
"""
@copyright: 2013 by Pauli Rikula <*****@*****.**>
@license: MIT <http://www.opensource.org/licenses/mit-license.php>
"""


#for parsing
from parse_data import get_data

from plot_tools import makeplot, daily, monthly

    
if __name__ == "__main__":
    signal = get_data()
    makeplot(signal, daily)
    makeplot(signal, monthly)