<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Amie,<div class=""><br class=""></div><div class="">Here are a powerful set of peak finding tools (and a cool vintage website!):</div><div class=""><br class=""></div><div class=""><a href="https://terpconnect.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm" class="">https://terpconnect.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm</a></div><div class=""><br class=""></div><div class="">I would recommend playing with ipeak:</div><div class=""><br class=""></div><div class=""><a href="https://terpconnect.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm#ipeak" class="">https://terpconnect.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm#ipeak</a></div><div class=""><br class=""></div><div class="">Which will give you GUI to get a feel for the best parameters for fitting your peaks. Then you can use FindpeaksG.m to automate the peak finding using these parameters.</div><div class=""><br class=""></div><div class=""><a href="https://terpconnect.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm#findpeaks" class="">https://terpconnect.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm#findpeaks</a></div><div class=""><br class=""></div><div class="">These matlab functions will return the specific peak location, height, etc., which you can use as parameters for your window definition, i.e. full-width-at-half-max, etc.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Craig</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Craig Richter<br class="">Postdoctoral Researcher BCBL<br class=""><span class="Object" role="link" id="OBJ_PREFIX_DWT3159_com_zimbra_url"><span class="Object" role="link" id="OBJ_PREFIX_DWT3182_com_zimbra_url"><a target="_blank" href="http://www.bcbl.eu" class="">www.bcbl.eu</a></span></span><br class=""><br class="">Legal disclaimer/Aviso legal/Lege-oharra: <span class="Object" role="link" id="OBJ_PREFIX_DWT3160_com_zimbra_url"><span class="Object" role="link" id="OBJ_PREFIX_DWT3183_com_zimbra_url"><a target="_blank" href="http://www.bcbl.eu/legal-disclaimer" class="">www.bcbl.eu/legal-disclaimer</a></span></span></div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 9. Jul 2019, at 00:10, <a href="mailto:fieldtrip-request@science.ru.nl" class="">fieldtrip-request@science.ru.nl</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>[FieldTrip] Calculating half peak values after applying</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span class="Apple-tab-span" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">   </span><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">ft_globalmeanfield</span></div></blockquote></div><br class=""></div></body></html>