[SciPy-user] Extract local minima

val val at vtek.com
Mon Jun 19 18:30:45 CDT 2006


try google peak finder
val

Nils Wagner wrote:
>  Hi all,
> 
> Is there a way to extract local minima from the column vector stored in
> data.mtx ?
> 
> Nils
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> %%MatrixMarket matrix array real general
> %
> 1 300
> -4.6449622489301511e+01
> -4.6062127252307370e+01
> -4.5679353868966672e+01
> -4.5301273423568986e+01
> -4.4927862116775223e+01
> -4.4559101279425782e+01
> -4.4194977342525981e+01
> -4.3835481711570637e+01
> -4.3480610954521246e+01
> -4.3130366881421182e+01
> -4.2784756660040451e+01
> -4.2443793085574526e+01
> -4.2107494865867892e+01
> -4.1775886895192620e+01
> -4.1449000766251210e+01
> -4.1126875195257000e+01
> -4.0809556647748160e+01
> -4.0497100039328167e+01
> -4.0189569530244121e+01
> -3.9887039569277320e+01
> -3.9589595959157784e+01
> -3.9297337291802606e+01
> -3.9010376508253287e+01
> -3.8728842884460335e+01
> -3.8452884271361441e+01
> -3.8182669927223067e+01
> -3.7918393828099688e+01
> -3.7660278769980266e+01
> -3.7408581380631333e+01
> -3.7163598333697706e+01
> -3.6925674078565777e+01
> -3.6695210613285539e+01
> -3.6472679963741925e+01
> -3.6258640245570923e+01
> -3.6053756725081904e+01
> -3.5858829804456320e+01
> -3.5674832863123854e+01
> -3.5502964418824178e+01
> -3.5344721684988635e+01
> -3.5202006975354820e+01
> -3.5077286278675643e+01
> -3.4973834092045799e+01
> -3.4896127777712259e+01
> -3.4850516392988993e+01
> -3.4846430959978662e+01
> -3.4898765567519533e+01
> -3.5033122417437475e+01
> -3.5299406789190407e+01
> -3.5817567440363277e+01
> -3.7038903442914673e+01
> -3.8553586349522860e+01
> -3.5569118255362412e+01
> -3.4295536389779997e+01
> -3.3401731650370756e+01
> -3.2681900056600426e+01
> -3.2063084188980753e+01
> -3.1510859122568224e+01
> -3.1006218922333414e+01
> -3.0537553948924810e+01
> -3.0097250532350117e+01
> -2.9680044951651208e+01
> -2.9282146521990470e+01
> -2.8900735179176131e+01
> -2.8533656660113902e+01
> -2.8179228793110269e+01
> -2.7836113591042203e+01
> -2.7503230024844083e+01
> -2.7179692885394964e+01
> -2.6864768901687864e+01
> -2.6557844586942160e+01
> -2.6258402249611976e+01
> -2.5966001807438737e+01
> -2.5680266803109369e+01
> -2.5400873516595443e+01
> -2.5127542391984008e+01
> -2.4860031220815451e+01
> -2.4598129674746396e+01
> -2.4341654887016997e+01
> -2.4090447860627641e+01
> -2.3844370532103401e+01
> -2.3603303363345706e+01
> -2.3367143363562274e+01
> -2.3135802462106032e+01
> -2.2909206175998907e+01
> -2.2687292523638870e+01
> -2.2470011149612485e+01
> -2.2257322632010251e+01
> -2.2049197951500091e+01
> -2.1845618105399826e+01
> -2.1646573855847670e+01
> -2.1452065604128766e+01
> -2.1262103387281027e+01
> -2.1076706996474119e+01
> -2.0895906219930925e+01
> -2.0719741216656324e+01
> -2.0548263031277749e+01
> -2.0381534263715093e+01
> -2.0219629913879491e+01
> -2.0062638426089965e+01
> -1.9910662966076327e+01
> -1.9763822973076167e+01
> -1.9622256039847155e+01
> -1.9486120190450539e+01
> -1.9355596644135392e+01
> -1.9230893180542029e+01
> -1.9112248256657189e+01
> -1.8999936074044765e+01
> -1.8894272859865396e+01
> -1.8795624718349270e+01
> -1.8704417538172322e+01
> -1.8621149629060525e+01
> -1.8546408035024676e+01
> -1.8480889881068777e+01
> -1.8425430736111458e+01
> -1.8381042953134909e+01
> -1.8348968520738261e+01
> -1.8330753567152293e+01
> -1.8328356133766324e+01
> -1.8344306835377633e+01
> -1.8381957018411573e+01
> -1.8445878744948764e+01
> -1.8542543941565182e+01
> -1.8681555263279353e+01
> -1.8878073211023985e+01
> -1.9158180162253792e+01
> -1.9572854542062096e+01
> -2.0245407071370686e+01
> -2.1648546699482239e+01
> -2.3086161722121858e+01
> -2.0376788955828815e+01
> -1.9268242921219262e+01
> -1.8531675333284362e+01
> -1.7968101420955673e+01
> -1.7506413848982401e+01
> -1.7113063032633853e+01
> -1.6769653683424849e+01
> -1.6465128659279312e+01
> -1.6192455733790155e+01
> -1.5947036260084960e+01
> -1.5725878744459752e+01
> -1.5527157132032317e+01
> -1.5349990170888244e+01
> -1.5194374266593485e+01
> -1.5061257590067084e+01
> -1.4952794785292959e+01
> -1.4872905194634257e+01
> -1.4828450985102636e+01
> -1.4831909013846637e+01
> -1.4908405059184478e+01
> -1.5119736375271314e+01
> -1.5705961912062429e+01
> -1.6266777769856269e+01
> -1.4819525909234294e+01
> -1.4157223574095735e+01
> -1.3682410400189017e+01
> -1.3296499521382330e+01
> -1.2963955207134935e+01
> -1.2667836217630670e+01
> -1.2398712436992813e+01
> -1.2150782676065074e+01
> -1.1920219292619013e+01
> -1.1704363224856021e+01
> -1.1501293573206876e+01
> -1.1309580240191838e+01
> -1.1128133479131382e+01
> -1.0956108113157820e+01
> -1.0792840244941631e+01
> -1.0637804139136620e+01
> -1.0490582110113770e+01
> -1.0350843077956592e+01
> -1.0218327080534269e+01
> -1.0092833998578236e+01
> -9.9742153490830852e+00
> -9.8623683840236129e+00
> -9.7572319829842833e+00
> -9.6587840002849443e+00
> -9.5670398500495075e+00
> -9.4820522057461663e+00
> -9.4039117668594621e+00
> -9.3327491140778367e+00
> -9.2687377434708793e+00
> -9.2120984473797822e+00
> -9.1631053039593855e+00
> -9.1220936602082912e+00
> -9.0894706615335092e+00
> -9.0657291197572860e+00
> -9.0514658608352079e+00
> -9.0474062184671933e+00
> -9.0544371494442242e+00
> -9.0736527303898491e+00
> -9.1064178932105282e+00
> -9.1544598010477518e+00
> -9.2200024893436812e+00
> -9.3059718162626073e+00
> -9.4163198426369572e+00
> -9.5565631777182976e+00
> -9.7347306340300293e+00
> -9.9631616371204057e+00
> -1.0262276694022377e+01
> -1.0669664690922730e+01
> -1.1267168635760411e+01
> -1.2299106285809405e+01
> -1.5949792915736971e+01
> -1.2644045844847344e+01
> -1.1255220540542659e+01
> -1.0458063698727774e+01
> -9.8902297925475118e+00
> -9.4466166161458229e+00
> -9.0819821065707664e+00
> -8.7727003028799473e+00
> -8.5048961554385230e+00
> -8.2697517225960429e+00
> -8.0613398389333266e+00
> -7.8755104555578184e+00
> -7.7092705697705277e+00
> -7.5604172479817278e+00
> -7.4273099330594743e+00
> -7.3087240102138908e+00
> -7.2037542425439334e+00
> -7.1117502895627993e+00
> -7.0322738858584675e+00
> -6.9650714710339168e+00
> -6.9100586251978555e+00
> -6.8673143538995589e+00
> -6.8370845214284870e+00
> -6.8197948369823305e+00
> -6.8160749892878778e+00
> -6.8267970653289280e+00
> -6.8531336626197739e+00
> -6.8966447733002045e+00
> -6.9594088326414143e+00
> -7.0442248171679607e+00
> -7.1549344224999878e+00
> -7.2969588550291782e+00
> -7.4782457387624621e+00
> -7.7110681332485704e+00
> -8.0157987175662626e+00
> -8.4300102694170871e+00
> -9.0356144132737199e+00
> -1.0077420026489470e+01
> -1.3756272344918308e+01
> -1.0437114820442538e+01
> -9.0616461294563369e+00
> -8.2775858236030206e+00
> -7.7235085212834802e+00
> -7.2944761223095265e+00
> -6.9453050485831298e+00
> -6.6524048061456318e+00
> -6.4019329912249452e+00
> -6.1851087386775969e+00
> -5.9960501027164002e+00
> -5.8306631105071185e+00
> -5.6860243085316222e+00
> -5.5600167439926347e+00
> -5.4511058856398478e+00
> -5.3581977738968432e+00
> -5.2805484015620179e+00
> -5.2177070688095517e+00
> -5.1694840454486028e+00
> -5.1359374409890028e+00
> -5.1173773060691987e+00
> -5.1143875836023813e+00
> -5.1278692862136577e+00
> -5.1591119582689533e+00
> -5.2099062504553943e+00
> -5.2827204629686273e+00
> -5.3809827197412039e+00
> -5.5095482551451465e+00
> -5.6755133587182254e+00
> -5.8897325949135642e+00
> -6.1699165666673572e+00
> -6.5478107790391453e+00
> -7.0892903175459452e+00
> -7.9719481386656224e+00
> -1.0144472427354435e+01
> -9.2619821983097932e+00
> -7.5396382092389151e+00
> -6.6587791349637619e+00
> -6.0564942611513448e+00
> -5.5967286746458091e+00
> -5.2248127993067097e+00
> -4.9132318944356115e+00
> -4.6461783818439866e+00
> -4.4137354606001145e+00
> -4.2092790060794805e+00
> -4.0281723644935932e+00
> -3.8670514998229875e+00
> -3.7234065953773410e+00
> -3.5953239335135021e+00
> -3.4813197200918466e+00
> -3.3802292932815510e+00
> -3.2911310967627063e+00
> -3.2132932639839340e+00
> -3.1461353792540945e+00
> -3.0892007234153285e+00
> -3.0421359644297996e+00
> -3.0046762828797871e+00
> -2.9766345845266873e+00
> -2.9578938918580038e+00
> -2.9484023094934937e+00



More information about the SciPy-user mailing list