# spacepy.seapy.sea_signif

spacepy.seapy.sea_signif(obj1, obj2, test='KS', show=True, xquan='Time Since Epoch', yquan='', xunits='', yunits='', epochline=True, usrlimy=[])

  Test for similarity between distributions at each lag in two 1-D SEAs

  Parameters:
    obj1 Sea

      First instance for comparison

    obj2 Sea

      Second instance for comparison

  Other Parameters:
    test

      (default = ‘KS’) Test to apply at each lag: KS is 2-smaple Kolmogorov-Smirnov; U is Mann-Whitney U-test

    show

      (default = True)

    xquan

      (default = ‘Time since epoch’ (None)) - x-axis label.

    yquan

      (default = ‘Time since epoch’ (None)) - y-axis label.

    xunits

      (default = None (None)) - x-axis units.

    yunits

      (default = None (None)) - y-axis units.

    epochline

      (default = True) - put vertical line at zero epoch.

    usrlimy

      (default = []) - override automatic y-limits on plot.

  Examples

      >>> obj1 = seapy.Sea(data1, times1, epochs1)
      >>> obj2 = seapy.Sea(data2, times2, epochs2)
      >>> obj1.sea(storedata=True)
      >>> obj2.sea(storedata=True)
      >>> seapy.sea_signif(obj1, obj2)