aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2021-05-05 16:26:46 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2021-05-05 16:26:46 +0300
commit0c027d2ea17751f31c86a19583dfd72f86df75da (patch)
treedd8a82c60354c022d7e07a76f7e297be295429e2
parent5374ebaab3b7e334e0449cd240d540c9d7193dfb (diff)
downloadlibpqf-0c027d2ea17751f31c86a19583dfd72f86df75da.tar.gz
DCA fir prototype added
-rw-r--r--tools/dataconv/dca.c1057
-rw-r--r--tools/plot/data/dca_nonperfect.txt512
-rw-r--r--tools/plot/data/dca_perfect.txt512
-rwxr-xr-xtools/plot/run.sh2
4 files changed, 2082 insertions, 1 deletions
diff --git a/tools/dataconv/dca.c b/tools/dataconv/dca.c
new file mode 100644
index 0000000..edf446c
--- /dev/null
+++ b/tools/dataconv/dca.c
@@ -0,0 +1,1057 @@
+#include <stdio.h>
+
+#define FIR_LEN 512
+
+const float ff_dca_fir_32bands_perfect[FIR_LEN] = {
+ +1.135985195E-010,
+ +7.018770981E-011,
+ -1.608403011E-008,
+ -5.083275667E-008,
+ -1.543309907E-007,
+ -3.961981463E-007,
+ -7.342250683E-007,
+ -3.970030775E-007,
+ -4.741137047E-007,
+ -6.022448247E-007,
+ -6.628192182E-007,
+ -6.982898526E-007,
+ -7.020648809E-007,
+ -6.767839409E-007,
+ -6.262345096E-007,
+ -5.564140224E-007,
+ +7.003467317E-007,
+ +8.419976893E-007,
+ +9.742954035E-007,
+ +1.085227950E-006,
+ +1.162929266E-006,
+ +1.194632091E-006,
+ +1.179182050E-006,
+ +1.033426656E-006,
+ +9.451737242E-007,
+ +1.975324267E-006,
+ +1.190443072E-006,
+ +5.234479659E-007,
+ +2.014677420E-007,
+ +7.834767501E-008,
+ -6.702406963E-010,
+ -1.613285505E-009,
+ -2.682709610E-009,
+ -3.399493131E-009,
+ +1.314406006E-008,
+ +7.506701927E-009,
+ +2.788728892E-008,
+ +1.444918922E-007,
+ +3.132386439E-007,
+ +1.399798180E-006,
+ +2.032118118E-006,
+ +2.715013807E-006,
+ +3.453840463E-006,
+ +4.195037945E-006,
+ +4.896494374E-006,
+ +5.516381407E-006,
+ +6.015239251E-006,
+ +6.361419310E-006,
+ +8.006985809E-006,
+ +8.087732567E-006,
+ +7.941360309E-006,
+ +7.568834008E-006,
+ +6.986399967E-006,
+ +6.225028756E-006,
+ +5.315936960E-006,
+ +4.429412002E-006,
+ +3.332600045E-006,
+ +8.427224429E-007,
+ +4.341498823E-007,
+ +9.458596395E-008,
+ +2.975164826E-008,
+ +6.402664354E-008,
+ -3.246264413E-008,
+ -3.809887872E-008,
+ +8.434094667E-008,
+ +6.437721822E-008,
+ +1.189317118E-006,
+ +2.497214155E-006,
+ +3.617151151E-006,
+ +3.157242645E-006,
+ +2.319611212E-006,
+ +7.869333785E-006,
+ +9.826449968E-006,
+ +1.177108606E-005,
+ +1.379448349E-005,
+ +1.571428584E-005,
+ +1.743183020E-005,
+ +1.884208177E-005,
+ +1.987093310E-005,
+ +2.042970118E-005,
+ -3.144468428E-005,
+ -3.334947178E-005,
+ -3.460439257E-005,
+ -3.515914432E-005,
+ -3.495384954E-005,
+ -3.397853652E-005,
+ -3.225446198E-005,
+ -2.978993689E-005,
+ -2.677291741E-005,
+ -1.806914770E-005,
+ -1.776598037E-005,
+ -1.661818715E-005,
+ -1.207003334E-005,
+ -6.993315310E-006,
+ -5.633860383E-007,
+ -9.984935332E-007,
+ -1.470520488E-006,
+ -1.853591357E-006,
+ +7.198007665E-007,
+ +3.086857760E-006,
+ +6.084746474E-006,
+ +9.561075785E-006,
+ +1.309637537E-005,
+ +2.263354872E-005,
+ +2.847247197E-005,
+ +3.415624451E-005,
+ +3.946387005E-005,
+ +4.425736552E-005,
+ +4.839275425E-005,
+ +5.176846025E-005,
+ +5.429694284E-005,
+ +5.595519906E-005,
+ +4.916387297E-006,
+ +9.299508747E-006,
+ +1.356193479E-005,
+ +1.751866148E-005,
+ +2.093936746E-005,
+ +2.362549276E-005,
+ +2.537086584E-005,
+ +2.618136386E-005,
+ +2.554462844E-005,
+ +3.018750249E-005,
+ +2.570833203E-005,
+ +1.985177369E-005,
+ +1.191342653E-005,
+ +2.525620175E-006,
+ -1.521241393E-005,
+ -1.617751332E-005,
+ +1.992636317E-005,
+ +1.774702469E-005,
+ +4.624524081E-005,
+ +5.610509834E-005,
+ +6.568001118E-005,
+ +7.513730816E-005,
+ +8.413690375E-005,
+ +8.757545584E-005,
+ +9.517164290E-005,
+ +1.020687996E-004,
+ +1.084438481E-004,
+ +1.140582463E-004,
+ +1.187910311E-004,
+ +1.224978914E-004,
+ +1.250260248E-004,
+ +1.262027217E-004,
+ +1.226499153E-004,
+ +1.213575742E-004,
+ +1.180980107E-004,
+ +1.126275165E-004,
+ +1.047207043E-004,
+ +9.417100227E-005,
+ +8.078388782E-005,
+ +6.447290798E-005,
+ +4.491530854E-005,
+ +2.470704203E-005,
+ -1.714242217E-006,
+ -3.193307566E-005,
+ -6.541742187E-005,
+ -1.024175072E-004,
+ -1.312203676E-004,
+ -1.774113771E-004,
+ -2.233728592E-004,
+ -2.682086197E-004,
+ -3.347633174E-004,
+ -3.906481725E-004,
+ -4.490280990E-004,
+ -5.099929986E-004,
+ -5.729619297E-004,
+ -6.358824321E-004,
+ -7.021900383E-004,
+ -7.698345580E-004,
+ -8.385353722E-004,
+ -9.078957955E-004,
+ -9.775133803E-004,
+ -1.046945457E-003,
+ -1.115717343E-003,
+ -1.183370827E-003,
+ -1.252829796E-003,
+ -1.316190348E-003,
+ -1.376571832E-003,
+ -1.433344092E-003,
+ -1.485876855E-003,
+ -1.533520175E-003,
+ -1.575609902E-003,
+ -1.611457788E-003,
+ -1.640390139E-003,
+ -1.661288203E-003,
+ -1.674512983E-003,
+ -1.678415807E-003,
+ -1.672798418E-003,
+ -1.656501088E-003,
+ -1.633993932E-003,
+ -1.593449386E-003,
+ +1.542080659E-003,
+ +1.479332102E-003,
+ +1.395521569E-003,
+ +1.303116791E-003,
+ +1.196175464E-003,
+ +1.073757303E-003,
+ +9.358961834E-004,
+ +7.817269652E-004,
+ +6.114174030E-004,
+ +4.244441516E-004,
+ +2.206075296E-004,
+ -2.719412748E-007,
+ -2.382978710E-004,
+ -4.935106263E-004,
+ -7.658848190E-004,
+ -1.055365428E-003,
+ -1.361547387E-003,
+ -1.684492454E-003,
+ -2.023874084E-003,
+ -2.379294252E-003,
+ -2.750317100E-003,
+ -3.136433195E-003,
+ -3.537061159E-003,
+ -3.951539751E-003,
+ -4.379155114E-003,
+ -4.819062538E-003,
+ -5.270531867E-003,
+ -5.732392892E-003,
+ -6.203945260E-003,
+ -6.683901884E-003,
+ -7.170005701E-003,
+ -7.664063945E-003,
+ -8.162760176E-003,
+ -8.665001951E-003,
+ -9.170533158E-003,
+ -9.676489048E-003,
+ -1.018219907E-002,
+ -1.068630442E-002,
+ -1.118756086E-002,
+ -1.168460958E-002,
+ -1.217562053E-002,
+ -1.265939046E-002,
+ -1.313448418E-002,
+ -1.359948888E-002,
+ -1.405300573E-002,
+ -1.449365262E-002,
+ -1.492007636E-002,
+ -1.533095632E-002,
+ -1.572482102E-002,
+ -1.610082202E-002,
+ -1.645756140E-002,
+ -1.679391414E-002,
+ -1.710879989E-002,
+ -1.740120351E-002,
+ -1.767017506E-002,
+ -1.791484281E-002,
+ -1.813439466E-002,
+ -1.832821220E-002,
+ -1.849545911E-002,
+ -1.863567345E-002,
+ -1.874836907E-002,
+ -1.883326657E-002,
+ -1.889026538E-002,
+ -1.891860925E-002,
+ +1.891860925E-002,
+ +1.889026538E-002,
+ +1.883326657E-002,
+ +1.874836907E-002,
+ +1.863567345E-002,
+ +1.849545911E-002,
+ +1.832821220E-002,
+ +1.813439466E-002,
+ +1.791484281E-002,
+ +1.767017506E-002,
+ +1.740120351E-002,
+ +1.710879989E-002,
+ +1.679391414E-002,
+ +1.645756140E-002,
+ +1.610082202E-002,
+ +1.572482102E-002,
+ +1.533095632E-002,
+ +1.492007636E-002,
+ +1.449365262E-002,
+ +1.405300573E-002,
+ +1.359948888E-002,
+ +1.313448418E-002,
+ +1.265939046E-002,
+ +1.217562053E-002,
+ +1.168460958E-002,
+ +1.118756086E-002,
+ +1.068630442E-002,
+ +1.018219907E-002,
+ +9.676489048E-003,
+ +9.170533158E-003,
+ +8.665001951E-003,
+ +8.162760176E-003,
+ +7.664063945E-003,
+ +7.170005701E-003,
+ +6.683901884E-003,
+ +6.203945260E-003,
+ +5.732392892E-003,
+ +5.270531867E-003,
+ +4.819062538E-003,
+ +4.379155114E-003,
+ +3.951539751E-003,
+ +3.537061159E-003,
+ +3.136433195E-003,
+ +2.750317100E-003,
+ +2.379294252E-003,
+ +2.023874084E-003,
+ +1.684492454E-003,
+ +1.361547387E-003,
+ +1.055365428E-003,
+ +7.658848190E-004,
+ +4.935106263E-004,
+ +2.382978710E-004,
+ +2.719412748E-007,
+ -2.206075296E-004,
+ -4.244441516E-004,
+ -6.114174030E-004,
+ -7.817269652E-004,
+ -9.358961834E-004,
+ -1.073757303E-003,
+ -1.196175464E-003,
+ -1.303116791E-003,
+ -1.395521569E-003,
+ -1.479332102E-003,
+ -1.542080659E-003,
+ +1.593449386E-003,
+ +1.633993932E-003,
+ +1.656501088E-003,
+ +1.672798418E-003,
+ +1.678415807E-003,
+ +1.674512983E-003,
+ +1.661288203E-003,
+ +1.640390139E-003,
+ +1.611457788E-003,
+ +1.575609902E-003,
+ +1.533520175E-003,
+ +1.485876855E-003,
+ +1.433344092E-003,
+ +1.376571832E-003,
+ +1.316190348E-003,
+ +1.252829796E-003,
+ +1.183370827E-003,
+ +1.115717343E-003,
+ +1.046945457E-003,
+ +9.775133803E-004,
+ +9.078957955E-004,
+ +8.385353722E-004,
+ +7.698345580E-004,
+ +7.021900383E-004,
+ +6.358824321E-004,
+ +5.729619297E-004,
+ +5.099929986E-004,
+ +4.490280990E-004,
+ +3.906481725E-004,
+ +3.347633174E-004,
+ +2.682086197E-004,
+ +2.233728592E-004,
+ +1.774113771E-004,
+ +1.312203676E-004,
+ +1.024175072E-004,
+ +6.541742187E-005,
+ +3.193307566E-005,
+ +1.714242217E-006,
+ -2.470704203E-005,
+ -4.491530854E-005,
+ -6.447290798E-005,
+ -8.078388782E-005,
+ -9.417100227E-005,
+ -1.047207043E-004,
+ -1.126275165E-004,
+ -1.180980107E-004,
+ -1.213575742E-004,
+ -1.226499153E-004,
+ -1.262027217E-004,
+ -1.250260248E-004,
+ -1.224978914E-004,
+ -1.187910311E-004,
+ -1.140582463E-004,
+ -1.084438481E-004,
+ -1.020687996E-004,
+ -9.517164290E-005,
+ -8.757545584E-005,
+ -8.413690375E-005,
+ -7.513730816E-005,
+ -6.568001118E-005,
+ -5.610509834E-005,
+ -4.624524081E-005,
+ -1.774702469E-005,
+ -1.992636317E-005,
+ +1.617751332E-005,
+ +1.521241393E-005,
+ -2.525620175E-006,
+ -1.191342653E-005,
+ -1.985177369E-005,
+ -2.570833203E-005,
+ -3.018750249E-005,
+ -2.554462844E-005,
+ -2.618136386E-005,
+ -2.537086584E-005,
+ -2.362549276E-005,
+ -2.093936746E-005,
+ -1.751866148E-005,
+ -1.356193479E-005,
+ -9.299508747E-006,
+ -4.916387297E-006,
+ -5.595519906E-005,
+ -5.429694284E-005,
+ -5.176846025E-005,
+ -4.839275425E-005,
+ -4.425736552E-005,
+ -3.946387005E-005,
+ -3.415624451E-005,
+ -2.847247197E-005,
+ -2.263354872E-005,
+ -1.309637537E-005,
+ -9.561075785E-006,
+ -6.084746474E-006,
+ -3.086857760E-006,
+ -7.198007665E-007,
+ +1.853591357E-006,
+ +1.470520488E-006,
+ +9.984935332E-007,
+ +5.633860383E-007,
+ +6.993315310E-006,
+ +1.207003334E-005,
+ +1.661818715E-005,
+ +1.776598037E-005,
+ +1.806914770E-005,
+ +2.677291741E-005,
+ +2.978993689E-005,
+ +3.225446198E-005,
+ +3.397853652E-005,
+ +3.495384954E-005,
+ +3.515914432E-005,
+ +3.460439257E-005,
+ +3.334947178E-005,
+ +3.144468428E-005,
+ -2.042970118E-005,
+ -1.987093310E-005,
+ -1.884208177E-005,
+ -1.743183020E-005,
+ -1.571428584E-005,
+ -1.379448349E-005,
+ -1.177108606E-005,
+ -9.826449968E-006,
+ -7.869333785E-006,
+ -2.319611212E-006,
+ -3.157242645E-006,
+ -3.617151151E-006,
+ -2.497214155E-006,
+ -1.189317118E-006,
+ -6.437721822E-008,
+ -8.434094667E-008,
+ +3.809887872E-008,
+ +3.246264413E-008,
+ -6.402664354E-008,
+ -2.975164826E-008,
+ -9.458596395E-008,
+ -4.341498823E-007,
+ -8.427224429E-007,
+ -3.332600045E-006,
+ -4.429412002E-006,
+ -5.315936960E-006,
+ -6.225028756E-006,
+ -6.986399967E-006,
+ -7.568834008E-006,
+ -7.941360309E-006,
+ -8.087732567E-006,
+ -8.006985809E-006,
+ -6.361419310E-006,
+ -6.015239251E-006,
+ -5.516381407E-006,
+ -4.896494374E-006,
+ -4.195037945E-006,
+ -3.453840463E-006,
+ -2.715013807E-006,
+ -2.032118118E-006,
+ -1.399798180E-006,
+ -3.132386439E-007,
+ -1.444918922E-007,
+ -2.788728892E-008,
+ -7.506701927E-009,
+ -1.314406006E-008,
+ +3.399493131E-009,
+ +2.682709610E-009,
+ +1.613285505E-009,
+ +6.702406963E-010,
+ -7.834767501E-008,
+ -2.014677420E-007,
+ -5.234479659E-007,
+ -1.190443072E-006,
+ -1.975324267E-006,
+ -9.451737242E-007,
+ -1.033426656E-006,
+ -1.179182050E-006,
+ -1.194632091E-006,
+ -1.162929266E-006,
+ -1.085227950E-006,
+ -9.742954035E-007,
+ -8.419976893E-007,
+ -7.003467317E-007,
+ +5.564140224E-007,
+ +6.262345096E-007,
+ +6.767839409E-007,
+ +7.020648809E-007,
+ +6.982898526E-007,
+ +6.628192182E-007,
+ +6.022448247E-007,
+ +4.741137047E-007,
+ +3.970030775E-007,
+ +7.342250683E-007,
+ +3.961981463E-007,
+ +1.543309907E-007,
+ +5.083275667E-008,
+ +1.608403011E-008,
+ -7.018770981E-011,
+ -1.135985195E-010
+};
+
+const float ff_dca_fir_32bands_nonperfect[FIR_LEN] = {
+ -1.390191784E-007,
+ -1.693738625E-007,
+ -2.030677564E-007,
+ -2.404238444E-007,
+ -2.818143514E-007,
+ -3.276689142E-007,
+ -3.784752209E-007,
+ -4.347855338E-007,
+ -4.972276315E-007,
+ -5.665120852E-007,
+ -6.434325428E-007,
+ -7.288739425E-007,
+ -8.238164355E-007,
+ -9.293416952E-007,
+ -1.046637067E-006,
+ -1.176999604E-006,
+ -1.321840614E-006,
+ -1.482681114E-006,
+ -1.661159786E-006,
+ -1.859034001E-006,
+ -2.078171747E-006,
+ -2.320550948E-006,
+ -2.588257530E-006,
+ -2.883470643E-006,
+ -3.208459020E-006,
+ -3.565570978E-006,
+ -3.957220997E-006,
+ -4.385879038E-006,
+ -4.854050530E-006,
+ -5.364252502E-006,
+ -5.918994248E-006,
+ -6.520755960E-006,
+ -7.171964626E-006,
+ -7.874960829E-006,
+ -8.631964192E-006,
+ -9.445050637E-006,
+ -1.031611009E-005,
+ -1.124680875E-005,
+ -1.223855270E-005,
+ -1.329243969E-005,
+ -1.440921824E-005,
+ -1.558924305E-005,
+ -1.683242772E-005,
+ -1.813820381E-005,
+ -1.950545993E-005,
+ -2.093250441E-005,
+ -2.241701623E-005,
+ -2.395598858E-005,
+ -2.554569073E-005,
+ -2.718161704E-005,
+ -2.885844333E-005,
+ -3.056998685E-005,
+ -3.230916263E-005,
+ -3.406793985E-005,
+ -3.583733633E-005,
+ -3.760734762E-005,
+ -3.936696885E-005,
+ -4.110412556E-005,
+ -4.280570283E-005,
+ -4.445751256E-005,
+ -4.604430433E-005,
+ -4.754976908E-005,
+ -4.895655002E-005,
+ -5.024627535E-005,
+ +5.139957648E-005,
+ +5.239612074E-005,
+ +5.321469871E-005,
+ +5.383323878E-005,
+ +5.422891263E-005,
+ +5.437819709E-005,
+ +5.425697600E-005,
+ +5.384063843E-005,
+ +5.310418419E-005,
+ +5.202236207E-005,
+ +5.056979353E-005,
+ +4.872112549E-005,
+ +4.645117951E-005,
+ +4.373511547E-005,
+ +4.054862075E-005,
+ +3.686808850E-005,
+ +3.267079956E-005,
+ +2.793515523E-005,
+ +2.264085742E-005,
+ +1.676913780E-005,
+ +1.030297699E-005,
+ +3.227306706E-006,
+ -4.470633485E-006,
+ -1.280130618E-005,
+ -2.177240640E-005,
+ -3.138873581E-005,
+ -4.165195787E-005,
+ -5.256036457E-005,
+ -6.410864444E-005,
+ -7.628766616E-005,
+ -8.908427117E-005,
+ -1.024810626E-004,
+ -1.164562127E-004,
+ -1.309833024E-004,
+ -1.460311323E-004,
+ -1.615635992E-004,
+ -1.775395358E-004,
+ -1.939126523E-004,
+ -2.106313768E-004,
+ -2.276388550E-004,
+ -2.448728774E-004,
+ -2.622658503E-004,
+ -2.797449124E-004,
+ -2.972317743E-004,
+ -3.146430245E-004,
+ -3.318900708E-004,
+ -3.488793736E-004,
+ -3.655125911E-004,
+ -3.816867538E-004,
+ -3.972945851E-004,
+ -4.122247046E-004,
+ -4.263620067E-004,
+ -4.395879805E-004,
+ -4.517810594E-004,
+ -4.628172028E-004,
+ -4.725702747E-004,
+ -4.809123348E-004,
+ -4.877146275E-004,
+ -4.928477574E-004,
+ -4.961824161E-004,
+ -4.975944757E-004,
+ -4.969481961E-004,
+ -4.941228544E-004,
+ -4.889960401E-004,
+ +4.814492422E-004,
+ +4.713678791E-004,
+ +4.586426076E-004,
+ +4.431701091E-004,
+ +4.248536134E-004,
+ +4.036037717E-004,
+ +3.793396754E-004,
+ +3.519894381E-004,
+ +3.214911267E-004,
+ +2.877934603E-004,
+ +2.508567995E-004,
+ +2.106537577E-004,
+ +1.671699720E-004,
+ +1.204049113E-004,
+ +7.037253090E-005,
+ +1.710198012E-005,
+ -3.936182839E-005,
+ -9.895755647E-005,
+ -1.616069785E-004,
+ -2.272142592E-004,
+ -2.956659591E-004,
+ -3.668301215E-004,
+ -4.405563814E-004,
+ -5.166754709E-004,
+ -5.949990009E-004,
+ -6.753197522E-004,
+ -7.574109477E-004,
+ -8.410271257E-004,
+ -9.259034996E-004,
+ -1.011756598E-003,
+ -1.098284614E-003,
+ -1.185167348E-003,
+ -1.272067428E-003,
+ -1.358630019E-003,
+ -1.444484224E-003,
+ -1.529243193E-003,
+ -1.612505526E-003,
+ -1.693855622E-003,
+ -1.772865304E-003,
+ -1.849094522E-003,
+ -1.922092517E-003,
+ -1.991399564E-003,
+ -2.056547208E-003,
+ -2.117061289E-003,
+ -2.172462177E-003,
+ -2.222266514E-003,
+ -2.265989315E-003,
+ -2.303145360E-003,
+ -2.333251061E-003,
+ -2.355825622E-003,
+ -2.370394068E-003,
+ -2.376487479E-003,
+ -2.373647178E-003,
+ -2.361423569E-003,
+ -2.339380793E-003,
+ -2.307097195E-003,
+ -2.264167881E-003,
+ -2.210205887E-003,
+ -2.144844970E-003,
+ -2.067740774E-003,
+ -1.978572691E-003,
+ -1.877046190E-003,
+ -1.762894331E-003,
+ -1.635878929E-003,
+ +1.495792647E-003,
+ +1.342460280E-003,
+ +1.175740734E-003,
+ +9.955273708E-004,
+ +8.017504588E-004,
+ +5.943773431E-004,
+ +3.734139318E-004,
+ +1.389056415E-004,
+ -1.090620208E-004,
+ -3.703625989E-004,
+ -6.448282511E-004,
+ -9.322494152E-004,
+ -1.232374110E-003,
+ -1.544908970E-003,
+ -1.869517611E-003,
+ -2.205822384E-003,
+ -2.553403843E-003,
+ -2.911801683E-003,
+ -3.280514618E-003,
+ -3.659002949E-003,
+ -4.046686925E-003,
+ -4.442950245E-003,
+ -4.847140983E-003,
+ -5.258570891E-003,
+ -5.676518660E-003,
+ -6.100233644E-003,
+ -6.528933067E-003,
+ -6.961807609E-003,
+ -7.398022339E-003,
+ -7.836719044E-003,
+ -8.277016692E-003,
+ -8.718019351E-003,
+ -9.158811532E-003,
+ -9.598465636E-003,
+ -1.003604382E-002,
+ -1.047059800E-002,
+ -1.090117730E-002,
+ -1.132682897E-002,
+ -1.174659748E-002,
+ -1.215953380E-002,
+ -1.256469358E-002,
+ -1.296114177E-002,
+ -1.334795821E-002,
+ -1.372423489E-002,
+ -1.408908330E-002,
+ -1.444163360E-002,
+ -1.478104480E-002,
+ -1.510649733E-002,
+ -1.541720331E-002,
+ -1.571240649E-002,
+ -1.599138230E-002,
+ -1.625344716E-002,
+ -1.649795473E-002,
+ -1.672429405E-002,
+ -1.693190821E-002,
+ -1.712027565E-002,
+ -1.728892699E-002,
+ -1.743743755E-002,
+ -1.756543480E-002,
+ -1.767260395E-002,
+ -1.775865816E-002,
+ -1.782339066E-002,
+ -1.786663756E-002,
+ -1.788828894E-002,
+ +1.788828894E-002,
+ +1.786663756E-002,
+ +1.782339066E-002,
+ +1.775865816E-002,
+ +1.767260395E-002,
+ +1.756543480E-002,
+ +1.743743755E-002,
+ +1.728892699E-002,
+ +1.712027565E-002,
+ +1.693190821E-002,
+ +1.672429405E-002,
+ +1.649795473E-002,
+ +1.625344716E-002,
+ +1.599138230E-002,
+ +1.571240649E-002,
+ +1.541720331E-002,
+ +1.510649733E-002,
+ +1.478104480E-002,
+ +1.444163360E-002,
+ +1.408908330E-002,
+ +1.372423489E-002,
+ +1.334795821E-002,
+ +1.296114177E-002,
+ +1.256469358E-002,
+ +1.215953380E-002,
+ +1.174659748E-002,
+ +1.132682897E-002,
+ +1.090117730E-002,
+ +1.047059800E-002,
+ +1.003604382E-002,
+ +9.598465636E-003,
+ +9.158811532E-003,
+ +8.718019351E-003,
+ +8.277016692E-003,
+ +7.836719044E-003,
+ +7.398022339E-003,
+ +6.961807609E-003,
+ +6.528933067E-003,
+ +6.100233644E-003,
+ +5.676518660E-003,
+ +5.258570891E-003,
+ +4.847140983E-003,
+ +4.442950245E-003,
+ +4.046686925E-003,
+ +3.659002949E-003,
+ +3.280514618E-003,
+ +2.911801683E-003,
+ +2.553403843E-003,
+ +2.205822384E-003,
+ +1.869517611E-003,
+ +1.544908970E-003,
+ +1.232374110E-003,
+ +9.322494152E-004,
+ +6.448282511E-004,
+ +3.703625989E-004,
+ +1.090620208E-004,
+ -1.389056415E-004,
+ -3.734139318E-004,
+ -5.943773431E-004,
+ -8.017504588E-004,
+ -9.955273708E-004,
+ -1.175740734E-003,
+ -1.342460280E-003,
+ -1.495792647E-003,
+ +1.635878929E-003,
+ +1.762894331E-003,
+ +1.877046190E-003,
+ +1.978572691E-003,
+ +2.067740774E-003,
+ +2.144844970E-003,
+ +2.210205887E-003,
+ +2.264167881E-003,
+ +2.307097195E-003,
+ +2.339380793E-003,
+ +2.361423569E-003,
+ +2.373647178E-003,
+ +2.376487479E-003,
+ +2.370394068E-003,
+ +2.355825622E-003,
+ +2.333251061E-003,
+ +2.303145360E-003,
+ +2.265989315E-003,
+ +2.222266514E-003,
+ +2.172462177E-003,
+ +2.117061289E-003,
+ +2.056547208E-003,
+ +1.991399564E-003,
+ +1.922092517E-003,
+ +1.849094522E-003,
+ +1.772865304E-003,
+ +1.693855622E-003,
+ +1.612505526E-003,
+ +1.529243193E-003,
+ +1.444484224E-003,
+ +1.358630019E-003,
+ +1.272067428E-003,
+ +1.185167348E-003,
+ +1.098284614E-003,
+ +1.011756598E-003,
+ +9.259034996E-004,
+ +8.410271257E-004,
+ +7.574109477E-004,
+ +6.753197522E-004,
+ +5.949990009E-004,
+ +5.166754709E-004,
+ +4.405563814E-004,
+ +3.668301215E-004,
+ +2.956659591E-004,
+ +2.272142592E-004,
+ +1.616069785E-004,
+ +9.895755647E-005,
+ +3.936182839E-005,
+ -1.710198012E-005,
+ -7.037253090E-005,
+ -1.204049113E-004,
+ -1.671699720E-004,
+ -2.106537577E-004,
+ -2.508567995E-004,
+ -2.877934603E-004,
+ -3.214911267E-004,
+ -3.519894381E-004,
+ -3.793396754E-004,
+ -4.036037717E-004,
+ -4.248536134E-004,
+ -4.431701091E-004,
+ -4.586426076E-004,
+ -4.713678791E-004,
+ -4.814492422E-004,
+ +4.889960401E-004,
+ +4.941228544E-004,
+ +4.969481961E-004,
+ +4.975944757E-004,
+ +4.961824161E-004,
+ +4.928477574E-004,
+ +4.877146275E-004,
+ +4.809123348E-004,
+ +4.725702747E-004,
+ +4.628172028E-004,
+ +4.517810594E-004,
+ +4.395879805E-004,
+ +4.263620067E-004,
+ +4.122247046E-004,
+ +3.972945851E-004,
+ +3.816867538E-004,
+ +3.655125911E-004,
+ +3.488793736E-004,
+ +3.318900708E-004,
+ +3.146430245E-004,
+ +2.972317743E-004,
+ +2.797449124E-004,
+ +2.622658503E-004,
+ +2.448728774E-004,
+ +2.276388550E-004,
+ +2.106313768E-004,
+ +1.939126523E-004,
+ +1.775395358E-004,
+ +1.615635992E-004,
+ +1.460311323E-004,
+ +1.309833024E-004,
+ +1.164562127E-004,
+ +1.024810626E-004,
+ +8.908427117E-005,
+ +7.628766616E-005,
+ +6.410864444E-005,
+ +5.256036457E-005,
+ +4.165195787E-005,
+ +3.138873581E-005,
+ +2.177240640E-005,
+ +1.280130618E-005,
+ +4.470633485E-006,
+ -3.227306706E-006,
+ -1.030297699E-005,
+ -1.676913780E-005,
+ -2.264085742E-005,
+ -2.793515523E-005,
+ -3.267079956E-005,
+ -3.686808850E-005,
+ -4.054862075E-005,
+ -4.373511547E-005,
+ -4.645117951E-005,
+ -4.872112549E-005,
+ -5.056979353E-005,
+ -5.202236207E-005,
+ -5.310418419E-005,
+ -5.384063843E-005,
+ -5.425697600E-005,
+ -5.437819709E-005,
+ -5.422891263E-005,
+ -5.383323878E-005,
+ -5.321469871E-005,
+ -5.239612074E-005,
+ -5.139957648E-005,
+ +5.024627535E-005,
+ +4.895655002E-005,
+ +4.754976908E-005,
+ +4.604430433E-005,
+ +4.445751256E-005,
+ +4.280570283E-005,
+ +4.110412556E-005,
+ +3.936696885E-005,
+ +3.760734762E-005,
+ +3.583733633E-005,
+ +3.406793985E-005,
+ +3.230916263E-005,
+ +3.056998685E-005,
+ +2.885844333E-005,
+ +2.718161704E-005,
+ +2.554569073E-005,
+ +2.395598858E-005,
+ +2.241701623E-005,
+ +2.093250441E-005,
+ +1.950545993E-005,
+ +1.813820381E-005,
+ +1.683242772E-005,
+ +1.558924305E-005,
+ +1.440921824E-005,
+ +1.329243969E-005,
+ +1.223855270E-005,
+ +1.124680875E-005,
+ +1.031611009E-005,
+ +9.445050637E-006,
+ +8.631964192E-006,
+ +7.874960829E-006,
+ +7.171964626E-006,
+ +6.520755960E-006,
+ +5.918994248E-006,
+ +5.364252502E-006,
+ +4.854050530E-006,
+ +4.385879038E-006,
+ +3.957220997E-006,
+ +3.565570978E-006,
+ +3.208459020E-006,
+ +2.883470643E-006,
+ +2.588257530E-006,
+ +2.320550948E-006,
+ +2.078171747E-006,
+ +1.859034001E-006,
+ +1.661159786E-006,
+ +1.482681114E-006,
+ +1.321840614E-006,
+ +1.176999604E-006,
+ +1.046637067E-006,
+ +9.293416952E-007,
+ +8.238164355E-007,
+ +7.288739425E-007,
+ +6.434325428E-007,
+ +5.665120852E-007,
+ +4.972276315E-007,
+ +4.347855338E-007,
+ +3.784752209E-007,
+ +3.276689142E-007,
+ +2.818143514E-007,
+ +2.404238444E-007,
+ +2.030677564E-007,
+ +1.693738625E-007,
+ +1.390191784E-007
+};
+
+int main(int argc, const char **argv) {
+ size_t i = 0;
+ float sign = -1.0;
+
+ if (argc != 2) {
+ return 1;
+ }
+
+ const float* p = (*argv[1] == 'p') ? ff_dca_fir_32bands_perfect : ff_dca_fir_32bands_nonperfect;
+
+ for (i = 0; i < FIR_LEN; i++) {
+ sign = i & (1 << 6) ? -1.0 : 1.0;
+
+ printf("%.14f", p[i] * (float)sign);
+ if (i != FIR_LEN - 1) {
+ printf(",\n");
+ } else {
+ printf("\n");
+ }
+ }
+
+ return 0;
+}
diff --git a/tools/plot/data/dca_nonperfect.txt b/tools/plot/data/dca_nonperfect.txt
new file mode 100644
index 0000000..9826469
--- /dev/null
+++ b/tools/plot/data/dca_nonperfect.txt
@@ -0,0 +1,512 @@
+-0.00000013901918,
+-0.00000016937386,
+-0.00000020306776,
+-0.00000024042384,
+-0.00000028181435,
+-0.00000032766891,
+-0.00000037847522,
+-0.00000043478553,
+-0.00000049722763,
+-0.00000056651209,
+-0.00000064343254,
+-0.00000072887394,
+-0.00000082381644,
+-0.00000092934170,
+-0.00000104663707,
+-0.00000117699960,
+-0.00000132184061,
+-0.00000148268111,
+-0.00000166115979,
+-0.00000185903400,
+-0.00000207817175,
+-0.00000232055095,
+-0.00000258825753,
+-0.00000288347064,
+-0.00000320845902,
+-0.00000356557098,
+-0.00000395722100,
+-0.00000438587904,
+-0.00000485405053,
+-0.00000536425250,
+-0.00000591899425,
+-0.00000652075596,
+-0.00000717196463,
+-0.00000787496083,
+-0.00000863196419,
+-0.00000944505064,
+-0.00001031611009,
+-0.00001124680875,
+-0.00001223855270,
+-0.00001329243969,
+-0.00001440921824,
+-0.00001558924305,
+-0.00001683242772,
+-0.00001813820381,
+-0.00001950545993,
+-0.00002093250441,
+-0.00002241701623,
+-0.00002395598858,
+-0.00002554569073,
+-0.00002718161704,
+-0.00002885844333,
+-0.00003056998685,
+-0.00003230916263,
+-0.00003406793985,
+-0.00003583733633,
+-0.00003760734762,
+-0.00003936696885,
+-0.00004110412556,
+-0.00004280570283,
+-0.00004445751256,
+-0.00004604430433,
+-0.00004754976908,
+-0.00004895655002,
+-0.00005024627535,
+-0.00005139957648,
+-0.00005239612074,
+-0.00005321469871,
+-0.00005383323878,
+-0.00005422891263,
+-0.00005437819709,
+-0.00005425697600,
+-0.00005384063843,
+-0.00005310418419,
+-0.00005202236207,
+-0.00005056979353,
+-0.00004872112549,
+-0.00004645117951,
+-0.00004373511547,
+-0.00004054862075,
+-0.00003686808850,
+-0.00003267079956,
+-0.00002793515523,
+-0.00002264085742,
+-0.00001676913780,
+-0.00001030297699,
+-0.00000322730671,
+0.00000447063348,
+0.00001280130618,
+0.00002177240640,
+0.00003138873581,
+0.00004165195787,
+0.00005256036457,
+0.00006410864444,
+0.00007628766616,
+0.00008908427117,
+0.00010248106264,
+0.00011645621271,
+0.00013098330237,
+0.00014603113232,
+0.00016156359925,
+0.00017753953580,
+0.00019391265232,
+0.00021063137683,
+0.00022763885499,
+0.00024487287737,
+0.00026226585032,
+0.00027974491240,
+0.00029723177431,
+0.00031464302447,
+0.00033189007081,
+0.00034887937363,
+0.00036551259109,
+0.00038168675383,
+0.00039729458513,
+0.00041222470463,
+0.00042636200669,
+0.00043958798051,
+0.00045178105938,
+0.00046281720279,
+0.00047257027472,
+0.00048091233475,
+0.00048771462752,
+0.00049284775741,
+0.00049618241610,
+0.00049759447575,
+0.00049694819609,
+0.00049412285443,
+0.00048899604008,
+0.00048144924222,
+0.00047136787907,
+0.00045864260755,
+0.00044317010907,
+0.00042485361337,
+0.00040360377170,
+0.00037933967542,
+0.00035198943806,
+0.00032149112667,
+0.00028779346030,
+0.00025085679954,
+0.00021065375768,
+0.00016716997197,
+0.00012040491129,
+0.00007037253090,
+0.00001710198012,
+-0.00003936182839,
+-0.00009895755647,
+-0.00016160697851,
+-0.00022721425921,
+-0.00029566595913,
+-0.00036683012149,
+-0.00044055638136,
+-0.00051667547086,
+-0.00059499900090,
+-0.00067531975219,
+-0.00075741094770,
+-0.00084102712572,
+-0.00092590349959,
+-0.00101175659802,
+-0.00109828461427,
+-0.00118516734801,
+-0.00127206742764,
+-0.00135863001924,
+-0.00144448422361,
+-0.00152924319264,
+-0.00161250552628,
+-0.00169385562185,
+-0.00177286530379,
+-0.00184909452219,
+-0.00192209251691,
+-0.00199139956385,
+-0.00205654720776,
+-0.00211706128903,
+-0.00217246217653,
+-0.00222226651385,
+-0.00226598931476,
+-0.00230314536020,
+-0.00233325106092,
+-0.00235582562163,
+-0.00237039406784,
+-0.00237648747861,
+-0.00237364717759,
+-0.00236142356880,
+-0.00233938079327,
+-0.00230709719472,
+-0.00226416788064,
+-0.00221020588651,
+-0.00214484496973,
+-0.00206774077378,
+-0.00197857269086,
+-0.00187704619020,
+-0.00176289433148,
+-0.00163587892894,
+-0.00149579264689,
+-0.00134246028028,
+-0.00117574073374,
+-0.00099552737083,
+-0.00080175045878,
+-0.00059437734308,
+-0.00037341393181,
+-0.00013890564151,
+0.00010906202078,
+0.00037036259891,
+0.00064482825110,
+0.00093224941520,
+0.00123237411026,
+0.00154490896966,
+0.00186951761134,
+0.00220582238398,
+0.00255340384319,
+0.00291180168279,
+0.00328051461838,
+0.00365900294855,
+0.00404668692499,
+0.00444295024499,
+0.00484714098275,
+0.00525857089087,
+0.00567651866004,
+0.00610023364425,
+0.00652893306687,
+0.00696180760860,
+0.00739802233875,
+0.00783671904355,
+0.00827701669186,
+0.00871801935136,
+0.00915881153196,
+0.00959846563637,
+0.01003604382277,
+0.01047059800476,
+0.01090117730200,
+0.01132682897151,
+0.01174659747630,
+0.01215953379869,
+0.01256469357759,
+0.01296114176512,
+0.01334795821458,
+0.01372423488647,
+0.01408908329904,
+0.01444163359702,
+0.01478104479611,
+0.01510649733245,
+0.01541720330715,
+0.01571240648627,
+0.01599138230085,
+0.01625344716012,
+0.01649795472622,
+0.01672429405153,
+0.01693190820515,
+0.01712027564645,
+0.01728892698884,
+0.01743743754923,
+0.01756543479860,
+0.01767260394990,
+0.01775865815580,
+0.01782339066267,
+0.01786663755774,
+0.01788828894496,
+0.01788828894496,
+0.01786663755774,
+0.01782339066267,
+0.01775865815580,
+0.01767260394990,
+0.01756543479860,
+0.01743743754923,
+0.01728892698884,
+0.01712027564645,
+0.01693190820515,
+0.01672429405153,
+0.01649795472622,
+0.01625344716012,
+0.01599138230085,
+0.01571240648627,
+0.01541720330715,
+0.01510649733245,
+0.01478104479611,
+0.01444163359702,
+0.01408908329904,
+0.01372423488647,
+0.01334795821458,
+0.01296114176512,
+0.01256469357759,
+0.01215953379869,
+0.01174659747630,
+0.01132682897151,
+0.01090117730200,
+0.01047059800476,
+0.01003604382277,
+0.00959846563637,
+0.00915881153196,
+0.00871801935136,
+0.00827701669186,
+0.00783671904355,
+0.00739802233875,
+0.00696180760860,
+0.00652893306687,
+0.00610023364425,
+0.00567651866004,
+0.00525857089087,
+0.00484714098275,
+0.00444295024499,
+0.00404668692499,
+0.00365900294855,
+0.00328051461838,
+0.00291180168279,
+0.00255340384319,
+0.00220582238398,
+0.00186951761134,
+0.00154490896966,
+0.00123237411026,
+0.00093224941520,
+0.00064482825110,
+0.00037036259891,
+0.00010906202078,
+-0.00013890564151,
+-0.00037341393181,
+-0.00059437734308,
+-0.00080175045878,
+-0.00099552737083,
+-0.00117574073374,
+-0.00134246028028,
+-0.00149579264689,
+-0.00163587892894,
+-0.00176289433148,
+-0.00187704619020,
+-0.00197857269086,
+-0.00206774077378,
+-0.00214484496973,
+-0.00221020588651,
+-0.00226416788064,
+-0.00230709719472,
+-0.00233938079327,
+-0.00236142356880,
+-0.00237364717759,
+-0.00237648747861,
+-0.00237039406784,
+-0.00235582562163,
+-0.00233325106092,
+-0.00230314536020,
+-0.00226598931476,
+-0.00222226651385,
+-0.00217246217653,
+-0.00211706128903,
+-0.00205654720776,
+-0.00199139956385,
+-0.00192209251691,
+-0.00184909452219,
+-0.00177286530379,
+-0.00169385562185,
+-0.00161250552628,
+-0.00152924319264,
+-0.00144448422361,
+-0.00135863001924,
+-0.00127206742764,
+-0.00118516734801,
+-0.00109828461427,
+-0.00101175659802,
+-0.00092590349959,
+-0.00084102712572,
+-0.00075741094770,
+-0.00067531975219,
+-0.00059499900090,
+-0.00051667547086,
+-0.00044055638136,
+-0.00036683012149,
+-0.00029566595913,
+-0.00022721425921,
+-0.00016160697851,
+-0.00009895755647,
+-0.00003936182839,
+0.00001710198012,
+0.00007037253090,
+0.00012040491129,
+0.00016716997197,
+0.00021065375768,
+0.00025085679954,
+0.00028779346030,
+0.00032149112667,
+0.00035198943806,
+0.00037933967542,
+0.00040360377170,
+0.00042485361337,
+0.00044317010907,
+0.00045864260755,
+0.00047136787907,
+0.00048144924222,
+0.00048899604008,
+0.00049412285443,
+0.00049694819609,
+0.00049759447575,
+0.00049618241610,
+0.00049284775741,
+0.00048771462752,
+0.00048091233475,
+0.00047257027472,
+0.00046281720279,
+0.00045178105938,
+0.00043958798051,
+0.00042636200669,
+0.00041222470463,
+0.00039729458513,
+0.00038168675383,
+0.00036551259109,
+0.00034887937363,
+0.00033189007081,
+0.00031464302447,
+0.00029723177431,
+0.00027974491240,
+0.00026226585032,
+0.00024487287737,
+0.00022763885499,
+0.00021063137683,
+0.00019391265232,
+0.00017753953580,
+0.00016156359925,
+0.00014603113232,
+0.00013098330237,
+0.00011645621271,
+0.00010248106264,
+0.00008908427117,
+0.00007628766616,
+0.00006410864444,
+0.00005256036457,
+0.00004165195787,
+0.00003138873581,
+0.00002177240640,
+0.00001280130618,
+0.00000447063348,
+-0.00000322730671,
+-0.00001030297699,
+-0.00001676913780,
+-0.00002264085742,
+-0.00002793515523,
+-0.00003267079956,
+-0.00003686808850,
+-0.00004054862075,
+-0.00004373511547,
+-0.00004645117951,
+-0.00004872112549,
+-0.00005056979353,
+-0.00005202236207,
+-0.00005310418419,
+-0.00005384063843,
+-0.00005425697600,
+-0.00005437819709,
+-0.00005422891263,
+-0.00005383323878,
+-0.00005321469871,
+-0.00005239612074,
+-0.00005139957648,
+-0.00005024627535,
+-0.00004895655002,
+-0.00004754976908,
+-0.00004604430433,
+-0.00004445751256,
+-0.00004280570283,
+-0.00004110412556,
+-0.00003936696885,
+-0.00003760734762,
+-0.00003583733633,
+-0.00003406793985,
+-0.00003230916263,
+-0.00003056998685,
+-0.00002885844333,
+-0.00002718161704,
+-0.00002554569073,
+-0.00002395598858,
+-0.00002241701623,
+-0.00002093250441,
+-0.00001950545993,
+-0.00001813820381,
+-0.00001683242772,
+-0.00001558924305,
+-0.00001440921824,
+-0.00001329243969,
+-0.00001223855270,
+-0.00001124680875,
+-0.00001031611009,
+-0.00000944505064,
+-0.00000863196419,
+-0.00000787496083,
+-0.00000717196463,
+-0.00000652075596,
+-0.00000591899425,
+-0.00000536425250,
+-0.00000485405053,
+-0.00000438587904,
+-0.00000395722100,
+-0.00000356557098,
+-0.00000320845902,
+-0.00000288347064,
+-0.00000258825753,
+-0.00000232055095,
+-0.00000207817175,
+-0.00000185903400,
+-0.00000166115979,
+-0.00000148268111,
+-0.00000132184061,
+-0.00000117699960,
+-0.00000104663707,
+-0.00000092934170,
+-0.00000082381644,
+-0.00000072887394,
+-0.00000064343254,
+-0.00000056651209,
+-0.00000049722763,
+-0.00000043478553,
+-0.00000037847522,
+-0.00000032766891,
+-0.00000028181435,
+-0.00000024042384,
+-0.00000020306776,
+-0.00000016937386,
+-0.00000013901918
diff --git a/tools/plot/data/dca_perfect.txt b/tools/plot/data/dca_perfect.txt
new file mode 100644
index 0000000..5748290
--- /dev/null
+++ b/tools/plot/data/dca_perfect.txt
@@ -0,0 +1,512 @@
+0.00000000011360,
+0.00000000007019,
+-0.00000001608403,
+-0.00000005083276,
+-0.00000015433099,
+-0.00000039619815,
+-0.00000073422507,
+-0.00000039700308,
+-0.00000047411370,
+-0.00000060224482,
+-0.00000066281922,
+-0.00000069828985,
+-0.00000070206488,
+-0.00000067678394,
+-0.00000062623451,
+-0.00000055641402,
+0.00000070034673,
+0.00000084199769,
+0.00000097429540,
+0.00000108522795,
+0.00000116292927,
+0.00000119463209,
+0.00000117918205,
+0.00000103342666,
+0.00000094517372,
+0.00000197532427,
+0.00000119044307,
+0.00000052344797,
+0.00000020146774,
+0.00000007834768,
+-0.00000000067024,
+-0.00000000161329,
+-0.00000000268271,
+-0.00000000339949,
+0.00000001314406,
+0.00000000750670,
+0.00000002788729,
+0.00000014449189,
+0.00000031323864,
+0.00000139979818,
+0.00000203211812,
+0.00000271501381,
+0.00000345384046,
+0.00000419503795,
+0.00000489649437,
+0.00000551638141,
+0.00000601523925,
+0.00000636141931,
+0.00000800698581,
+0.00000808773257,
+0.00000794136031,
+0.00000756883401,
+0.00000698639997,
+0.00000622502876,
+0.00000531593696,
+0.00000442941200,
+0.00000333260004,
+0.00000084272244,
+0.00000043414988,
+0.00000009458596,
+0.00000002975165,
+0.00000006402664,
+-0.00000003246264,
+-0.00000003809888,
+-0.00000008434095,
+-0.00000006437722,
+-0.00000118931712,
+-0.00000249721415,
+-0.00000361715115,
+-0.00000315724265,
+-0.00000231961121,
+-0.00000786933379,
+-0.00000982644997,
+-0.00001177108606,
+-0.00001379448349,
+-0.00001571428584,
+-0.00001743183020,
+-0.00001884208177,
+-0.00001987093310,
+-0.00002042970118,
+0.00003144468428,
+0.00003334947178,
+0.00003460439257,
+0.00003515914432,
+0.00003495384954,
+0.00003397853652,
+0.00003225446198,
+0.00002978993689,
+0.00002677291741,
+0.00001806914770,
+0.00001776598037,
+0.00001661818715,
+0.00001207003334,
+0.00000699331531,
+0.00000056338604,
+0.00000099849353,
+0.00000147052049,
+0.00000185359136,
+-0.00000071980077,
+-0.00000308685776,
+-0.00000608474647,
+-0.00000956107579,
+-0.00001309637537,
+-0.00002263354872,
+-0.00002847247197,
+-0.00003415624451,
+-0.00003946387005,
+-0.00004425736552,
+-0.00004839275425,
+-0.00005176846025,
+-0.00005429694284,
+-0.00005595519906,
+-0.00000491638730,
+-0.00000929950875,
+-0.00001356193479,
+-0.00001751866148,
+-0.00002093936746,
+-0.00002362549276,
+-0.00002537086584,
+-0.00002618136386,
+-0.00002554462844,
+-0.00003018750249,
+-0.00002570833203,
+-0.00001985177369,
+-0.00001191342653,
+-0.00000252562018,
+0.00001521241393,
+0.00001617751332,
+0.00001992636317,
+0.00001774702469,
+0.00004624524081,
+0.00005610509834,
+0.00006568001118,
+0.00007513730816,
+0.00008413690375,
+0.00008757545584,
+0.00009517164290,
+0.00010206879961,
+0.00010844384815,
+0.00011405824625,
+0.00011879103113,
+0.00012249789143,
+0.00012502602476,
+0.00012620272173,
+0.00012264991528,
+0.00012135757424,
+0.00011809801072,
+0.00011262751650,
+0.00010472070426,
+0.00009417100227,
+0.00008078388782,
+0.00006447290798,
+0.00004491530854,
+0.00002470704203,
+-0.00000171424222,
+-0.00003193307566,
+-0.00006541742187,
+-0.00010241750715,
+-0.00013122036762,
+-0.00017741137708,
+-0.00022337285918,
+-0.00026820861967,
+-0.00033476331737,
+-0.00039064817247,
+-0.00044902809896,
+-0.00050999299856,
+-0.00057296192972,
+-0.00063588243211,
+-0.00070219003828,
+-0.00076983455801,
+-0.00083853537217,
+-0.00090789579554,
+-0.00097751338035,
+-0.00104694545735,
+-0.00111571734305,
+-0.00118337082677,
+-0.00125282979570,
+-0.00131619034801,
+-0.00137657183222,
+-0.00143334409222,
+-0.00148587685544,
+-0.00153352017514,
+-0.00157560990192,
+-0.00161145778839,
+-0.00164039013907,
+-0.00166128820274,
+-0.00167451298330,
+-0.00167841580696,
+-0.00167279841844,
+-0.00165650108829,
+-0.00163399393205,
+-0.00159344938584,
+-0.00154208065942,
+-0.00147933210246,
+-0.00139552156907,
+-0.00130311679095,
+-0.00119617546443,
+-0.00107375730295,
+-0.00093589618336,
+-0.00078172696522,
+-0.00061141740298,
+-0.00042444415158,
+-0.00022060752963,
+0.00000027194127,
+0.00023829787096,
+0.00049351062626,
+0.00076588481897,
+0.00105536542833,
+0.00136154738721,
+0.00168449245393,
+0.00202387408353,
+0.00237929425202,
+0.00275031710044,
+0.00313643319532,
+0.00353706115857,
+0.00395153975114,
+0.00437915511429,
+0.00481906253844,
+0.00527053186670,
+0.00573239289224,
+0.00620394526049,
+0.00668390188366,
+0.00717000570148,
+0.00766406394541,
+0.00816276017576,
+0.00866500195116,
+0.00917053315789,
+0.00967648904771,
+0.01018219906837,
+0.01068630442023,
+0.01118756085634,
+0.01168460957706,
+0.01217562053353,
+0.01265939045697,
+0.01313448417932,
+0.01359948888421,
+0.01405300572515,
+0.01449365261942,
+0.01492007635534,
+0.01533095631748,
+0.01572482101619,
+0.01610082201660,
+0.01645756140351,
+0.01679391413927,
+0.01710879988968,
+0.01740120351315,
+0.01767017506063,
+0.01791484281421,
+0.01813439466059,
+0.01832821220160,
+0.01849545910954,
+0.01863567344844,
+0.01874836906791,
+0.01883326657116,
+0.01889026537538,
+0.01891860924661,
+0.01891860924661,
+0.01889026537538,
+0.01883326657116,
+0.01874836906791,
+0.01863567344844,
+0.01849545910954,
+0.01832821220160,
+0.01813439466059,
+0.01791484281421,
+0.01767017506063,
+0.01740120351315,
+0.01710879988968,
+0.01679391413927,
+0.01645756140351,
+0.01610082201660,
+0.01572482101619,
+0.01533095631748,
+0.01492007635534,
+0.01449365261942,
+0.01405300572515,
+0.01359948888421,
+0.01313448417932,
+0.01265939045697,
+0.01217562053353,
+0.01168460957706,
+0.01118756085634,
+0.01068630442023,
+0.01018219906837,
+0.00967648904771,
+0.00917053315789,
+0.00866500195116,
+0.00816276017576,
+0.00766406394541,
+0.00717000570148,
+0.00668390188366,
+0.00620394526049,
+0.00573239289224,
+0.00527053186670,
+0.00481906253844,
+0.00437915511429,
+0.00395153975114,
+0.00353706115857,
+0.00313643319532,
+0.00275031710044,
+0.00237929425202,
+0.00202387408353,
+0.00168449245393,
+0.00136154738721,
+0.00105536542833,
+0.00076588481897,
+0.00049351062626,
+0.00023829787096,
+0.00000027194127,
+-0.00022060752963,
+-0.00042444415158,
+-0.00061141740298,
+-0.00078172696522,
+-0.00093589618336,
+-0.00107375730295,
+-0.00119617546443,
+-0.00130311679095,
+-0.00139552156907,
+-0.00147933210246,
+-0.00154208065942,
+-0.00159344938584,
+-0.00163399393205,
+-0.00165650108829,
+-0.00167279841844,
+-0.00167841580696,
+-0.00167451298330,
+-0.00166128820274,
+-0.00164039013907,
+-0.00161145778839,
+-0.00157560990192,
+-0.00153352017514,
+-0.00148587685544,
+-0.00143334409222,
+-0.00137657183222,
+-0.00131619034801,
+-0.00125282979570,
+-0.00118337082677,
+-0.00111571734305,
+-0.00104694545735,
+-0.00097751338035,
+-0.00090789579554,
+-0.00083853537217,
+-0.00076983455801,
+-0.00070219003828,
+-0.00063588243211,
+-0.00057296192972,
+-0.00050999299856,
+-0.00044902809896,
+-0.00039064817247,
+-0.00033476331737,
+-0.00026820861967,
+-0.00022337285918,
+-0.00017741137708,
+-0.00013122036762,
+-0.00010241750715,
+-0.00006541742187,
+-0.00003193307566,
+-0.00000171424222,
+0.00002470704203,
+0.00004491530854,
+0.00006447290798,
+0.00008078388782,
+0.00009417100227,
+0.00010472070426,
+0.00011262751650,
+0.00011809801072,
+0.00012135757424,
+0.00012264991528,
+0.00012620272173,
+0.00012502602476,
+0.00012249789143,
+0.00011879103113,
+0.00011405824625,
+0.00010844384815,
+0.00010206879961,
+0.00009517164290,
+0.00008757545584,
+0.00008413690375,
+0.00007513730816,
+0.00006568001118,
+0.00005610509834,
+0.00004624524081,
+0.00001774702469,
+0.00001992636317,
+0.00001617751332,
+0.00001521241393,
+-0.00000252562018,
+-0.00001191342653,
+-0.00001985177369,
+-0.00002570833203,
+-0.00003018750249,
+-0.00002554462844,
+-0.00002618136386,
+-0.00002537086584,
+-0.00002362549276,
+-0.00002093936746,
+-0.00001751866148,
+-0.00001356193479,
+-0.00000929950875,
+-0.00000491638730,
+-0.00005595519906,
+-0.00005429694284,
+-0.00005176846025,
+-0.00004839275425,
+-0.00004425736552,
+-0.00003946387005,
+-0.00003415624451,
+-0.00002847247197,
+-0.00002263354872,
+-0.00001309637537,
+-0.00000956107579,
+-0.00000608474647,
+-0.00000308685776,
+-0.00000071980077,
+0.00000185359136,
+0.00000147052049,
+0.00000099849353,
+0.00000056338604,
+0.00000699331531,
+0.00001207003334,
+0.00001661818715,
+0.00001776598037,
+0.00001806914770,
+0.00002677291741,
+0.00002978993689,
+0.00003225446198,
+0.00003397853652,
+0.00003495384954,
+0.00003515914432,
+0.00003460439257,
+0.00003334947178,
+0.00003144468428,
+-0.00002042970118,
+-0.00001987093310,
+-0.00001884208177,
+-0.00001743183020,
+-0.00001571428584,
+-0.00001379448349,
+-0.00001177108606,
+-0.00000982644997,
+-0.00000786933379,
+-0.00000231961121,
+-0.00000315724265,
+-0.00000361715115,
+-0.00000249721415,
+-0.00000118931712,
+-0.00000006437722,
+-0.00000008434095,
+-0.00000003809888,
+-0.00000003246264,
+0.00000006402664,
+0.00000002975165,
+0.00000009458596,
+0.00000043414988,
+0.00000084272244,
+0.00000333260004,
+0.00000442941200,
+0.00000531593696,
+0.00000622502876,
+0.00000698639997,
+0.00000756883401,
+0.00000794136031,
+0.00000808773257,
+0.00000800698581,
+0.00000636141931,
+0.00000601523925,
+0.00000551638141,
+0.00000489649437,
+0.00000419503795,
+0.00000345384046,
+0.00000271501381,
+0.00000203211812,
+0.00000139979818,
+0.00000031323864,
+0.00000014449189,
+0.00000002788729,
+0.00000000750670,
+0.00000001314406,
+-0.00000000339949,
+-0.00000000268271,
+-0.00000000161329,
+-0.00000000067024,
+0.00000007834768,
+0.00000020146774,
+0.00000052344797,
+0.00000119044307,
+0.00000197532427,
+0.00000094517372,
+0.00000103342666,
+0.00000117918205,
+0.00000119463209,
+0.00000116292927,
+0.00000108522795,
+0.00000097429540,
+0.00000084199769,
+0.00000070034673,
+-0.00000055641402,
+-0.00000062623451,
+-0.00000067678394,
+-0.00000070206488,
+-0.00000069828985,
+-0.00000066281922,
+-0.00000060224482,
+-0.00000047411370,
+-0.00000039700308,
+-0.00000073422507,
+-0.00000039619815,
+-0.00000015433099,
+-0.00000005083276,
+-0.00000001608403,
+0.00000000007019,
+0.00000000011360
diff --git a/tools/plot/run.sh b/tools/plot/run.sh
index 06e7788..1de6346 100755
--- a/tools/plot/run.sh
+++ b/tools/plot/run.sh
@@ -8,5 +8,5 @@ python3.7 setup.py build
cd ..
-export PYTHONPATH=./pqf/build/lib.mingw-3.7/
+export PYTHONPATH=./pqf/build/lib.freebsd-12.2-RELEASE-p4-amd64-3.7/
./main.py "$@"