berkeley-stat222 / mousestyles

2016 final project
http://berkeley-stat222.github.io/mousestyles/
BSD 2-Clause "Simplified" License
2 stars 33 forks source link

TASK LIST: Project 4 Ultradian analysis #116

Closed boyinggong closed 8 years ago

boyinggong commented 8 years ago
def aggegate_interval(strain, mouse, feature, bin_width):
    """
    data loaded from data.load_intervals(feature)

    Parameters
    ---------------
    feature: {"AS", "Food", "IS", "M_AS", "M_IS", "Water", "Distance", "AS_Intensity", "AS_prob"}
    bin_width: number of minutes of time interval for data aggregation

    Returns
    ----------
    ts: pandas.tseries
        a pandas time series of length 12(day)*24(hour)*60(minute)/n
    """
def plot_lomb_scargle(stain, mouse, day, feature, bin_width):
    """
    we detect ultradian period from 2 hours to 48 hours (to be decided)

    Returns
    ----------
    Periodograms: plot
        Lomb-Scargle Periodograms with horizontal line indicating 
        significance level = 0.05, 0.01, 0.001, etc.
    significant period: numpy.array
        period in number of bin width
    """
shamindras commented 8 years ago

@boyinggong - I'm not quite sure what you mean by not having

access to do that?

Generally the branch is created locally and pushed to your fork and then a pull request is submitted. And the branch is then automatically available on upstream for you to make relevant changes based on code review. Sorry if I am misunderstanding your request.

I am on gitter at the moment if you want to clarify anything 😄