<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hey,</p>
    <p>Thanks, I didn't see that. This is actually exactly what I
      wanted, so that's great! In my work I normalise the DPSS by their
      area because I need them all to have the same integrated spectral
      weight. I'll have another look at the multitaper technique and
      maybe I'll come across a different form of modulation there, in
      which case I'd let you know.</p>
    <p>Thanks again,</p>
    <p>Virginia<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 08/04/18 23:29,
      <a class="moz-txt-link-abbreviated" href="mailto:3ukip0s02@sneakemail.com">3ukip0s02@sneakemail.com</a> wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:26906-1523194162-242017@sneakemail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Sun,
              8 Apr 2018 08:14:47 +1000</span>, <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Virginia
              Frey </span>wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">The current
              implementation of Slepians in scipy's signal module only<br>
              offers the zeroth order, so it is not possible to use for
              e.g. the<br>
              multitaper spectral analysis. In addition to that, because
              of the way<br>
              the eigensystem is solved, it breaks with a MemoryError
              when using high<br>
              numbers of points (i.e. a few thousand). The request for
              high numbers of<br>
              points is not unreasonable: people do take long
              time-traces and the FFT<br>
              makes it possible to compute Fourier transforms on those.<br>
            </blockquote>
            <div><br>
            </div>
            <div>In SciPy 1.1.0, <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">windows</span>.slepian
              will be deprecated and replaced by <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">windows.dpss</span>
              :</div>
            <div><br>
            </div>
            <div><a
href="https://scipy.github.io/devdocs/generated/scipy.signal.windows.dpss.html"
                target="_blank" moz-do-not-send="true">https://scipy.github.io/<wbr>devdocs/generated/scipy.<wbr>signal.windows.dpss.html</a></div>
            <div><a href="https://github.com/scipy/scipy/pull/7802"
                target="_blank" moz-do-not-send="true">https://github.com/scipy/<wbr>scipy/pull/7802</a><br>
            </div>
            <div><a href="https://github.com/scipy/scipy/issues/4354"
                target="_blank" moz-do-not-send="true">https://github.com/scipy/<wbr>scipy/issues/4354</a><br>
            </div>
            <div><br>
            </div>
            <div>Does that do what you want?</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">I have working code for
              this, which is based on the implementation<br>
              suggested in [5] but is in pure Python.</blockquote>
            <div><br>
            </div>
            <div>Aren't there copyright/license issues with using code
              from Numerical Recipes?</div>
            <div> <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">Once we have the full
              set of Slepians available, from there we (or I)<br>
              could also implement the multitaper spectral analysis
              technique<br>
            </blockquote>
            <div><br>
            </div>
            <div>That would be useful!</div>
            <div> <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">So, what do you guys
              think of my proposal? If you like it, please advise<br>
              me on how to proceed as this is the first time I'm
              planning to<br>
              contribute. From what I took of the web page, I'll start
              by downloading<br>
              the repo - and then should I make a new branch? I'm also
              happy to send<br>
              some code through via email for your review first.</blockquote>
            <div><br>
            </div>
            <div>Can you read through <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a
                  href="https://github.com/scipy/scipy/pull/7802"
                  target="_blank" moz-do-not-send="true">https://github.com/scipy/<wbr>scipy/pull/7802</a></span> and
              comment if you see a problem with it, or it doesn't do all
              that you would want it to do?  </div>
            <div><br>
            </div>
            <div>Also we were a little confused about how best to
              normalize the amplitude of the functions.  In your work,
              do you use the L2 norm?</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SciPy-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SciPy-Dev@python.org">SciPy-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scipy-dev">https://mail.python.org/mailman/listinfo/scipy-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>