Support Forums › Forums › FIR Designer Support › Reading FIR Coefficients from a piece of equipment in FIR Designer › Reply To: Reading FIR Coefficients from a piece of equipment in FIR Designer
What DSP is this? The file looks like a format we can implement to export from our products.
Here’s a workflow to get to the FIR data.
1. Copy the c0= ….. c383=”-1.497382E-07″ stuff to a text editor and use find/replace to remove all the ”
2. Copy the c0= ….. c383=-1.497382E-07 from the text editor into an empty worksheet in Excel
3. In Excel, select “Data” “Text to Columns” and use a space ” ” delimiter to break the single cell into 384 cells in a row.
4. Copy the 384 cells
5. On a vacant cell in Excel, right-click and select “Paste Special” “Transpose”. You’ll now have a column starting with c0=1.729377E-10 in the top cell.
6. Select the 384 cells (in the column) and select “Data” “Text to Columns” with an equals sign = as a delimiter. Now you have two columns; one starting with c0 and one with 1.73e-10.
7. Select all the number cells, right-click and select “Format” “Scientific” with 6 decimal places.
8. Copy the 384 cells back to a text editor and save as a TXT file. The results follow below.
9. Start “FIR Designer” and don’t load anything on the Import tab. On the Target tab and File sub-tab, press Load to load the TXT file. Uncheck Magnitude only and Phase only. Press “Find Peak”.
10. In “FIR Designer”, on the Target tab and Curve sub-tab, uncheck “Use”.
Now you have the filter loaded as a target and you can use the rest of the FIR Designer workflow to make a new FIR filter that either matches the loaded filter, or is slightly different to the loaded filter.
1.729377E-10
1.660994E-09
4.847680E-09
9.824653E-09
1.651504E-08
2.464442E-08
3.372249E-08
4.303874E-08
5.167486E-08
5.853556E-08
6.239859E-08
6.198304E-08
5.603370E-08
4.341751E-08
2.322641E-08
-5.120034E-09
-4.178048E-08
-8.641439E-08
-1.381300E-07
-1.954655E-07
-2.568051E-07
-3.229259E-07
-3.937446E-07
-4.687301E-07
-5.471915E-07
-6.282649E-07
-7.109016E-07
-7.938577E-07
-8.756854E-07
-9.547267E-07
-1.029110E-06
-1.096749E-06
-1.155347E-06
-1.202407E-06
-1.235240E-06
-1.250986E-06
-1.246640E-06
-1.219079E-06
-1.165105E-06
-1.081484E-06
-9.650053E-07
-8.125394E-07
-6.211086E-07
-3.879649E-07
-1.106760E-07
2.127800E-07
5.839134E-07
1.003613E-06
1.472033E-06
1.988471E-06
2.551245E-06
3.157569E-06
3.803425E-06
4.483443E-06
5.190777E-06
5.917002E-06
6.652004E-06
7.383904E-06
8.098985E-06
8.781649E-06
9.414400E-06
9.977855E-06
1.045080E-05
1.081027E-05
1.103169E-05
1.108909E-05
1.095529E-05
1.060225E-05
1.000144E-05
9.124249E-06
7.942488E-06
6.429002E-06
4.558293E-06
2.307259E-06
-3.440127E-07
-3.411375E-06
-6.905689E-06
-1.083183E-05
-1.518766E-05
-1.996291E-05
-2.513814E-05
-3.068354E-05
-3.655791E-05
-4.270750E-05
-4.906507E-05
-5.554887E-05
-6.206189E-05
-6.849110E-05
-7.470701E-05
-8.056335E-05
-8.589702E-05
-9.052844E-05
-9.426207E-05
-9.688744E-05
-9.818060E-05
-9.790600E-05
-9.581886E-05
-9.166820E-05
-8.520030E-05
-7.616292E-05
-6.431005E-05
-4.940737E-05
-3.123833E-05
-9.610889E-06
1.563509E-05
4.461989E-05
7.741540E-05
1.140361E-04
1.544297E-04
1.984674E-04
2.459341E-04
2.965184E-04
3.498029E-04
4.052553E-04
4.622189E-04
5.199053E-04
5.773876E-04
6.335947E-04
6.873080E-04
7.371600E-04
7.816349E-04
8.190728E-04
8.476764E-04
8.655218E-04
8.705730E-04
8.607008E-04
8.337065E-04
7.873506E-04
7.193865E-04
6.276002E-04
5.098553E-04
3.641445E-04
1.886456E-04
-1.821569E-05
-2.576976E-04
-5.306696E-04
-8.375344E-04
-1.178147E-03
-1.551729E-03
-1.956783E-03
-2.391004E-03
-2.851193E-03
-3.333173E-03
-3.831706E-03
-4.340424E-03
-4.851757E-03
-5.356885E-03
-5.845693E-03
-6.306751E-03
-6.727309E-03
-7.093319E-03
-7.389478E-03
-7.599311E-03
-7.705277E-03
-7.688916E-03
-7.531039E-03
-7.211959E-03
-6.711760E-03
-6.010632E-03
-5.089236E-03
-3.929133E-03
-2.513260E-03
-8.264549E-04
1.143962E-03
3.407568E-03
5.970169E-03
8.833094E-03
1.199246E-02
1.543840E-02
1.915431E-02
2.311606E-02
2.729123E-02
3.163840E-02
3.610642E-02
4.063381E-02
4.514824E-02
4.956610E-02
5.379218E-02
5.771958E-02
6.122979E-02
6.419293E-02
6.646832E-02
6.790531E-02
6.834441E-02
6.761873E-02
6.555584E-02
6.198002E-02
5.671488E-02
4.958647E-02
4.042677E-02
2.907772E-02
1.539563E-02
-7.439497E-04
-1.944087E-02
-4.076468E-02
-6.474858E-02
-9.138297E-02
-1.206089E-01
-1.523110E-01
-1.863112E-01
8.843743E-01
-2.892206E-01
-6.599208E-03
3.615452E-02
1.598242E-02
1.731194E-02
1.387795E-02
3.999668E-03
-3.044116E-03
-6.728054E-03
-8.664512E-03
-9.228375E-03
-8.732223E-03
-7.640320E-03
-6.266622E-03
-4.784203E-03
-3.306211E-03
-1.905310E-03
-6.233517E-04
5.149268E-04
1.494201E-03
2.305812E-03
2.946428E-03
3.417318E-03
3.724015E-03
3.875991E-03
3.886183E-03
3.770392E-03
3.546575E-03
3.234104E-03
2.853011E-03
2.423287E-03
1.964241E-03
1.493954E-03
1.028830E-03
5.832554E-04
1.693617E-04
-2.031128E-04
-5.268657E-04
-7.969904E-04
-1.010863E-03
-1.167967E-03
-1.269674E-03
-1.318984E-03
-1.320242E-03
-1.278850E-03
-1.200972E-03
-1.093246E-03
-9.625225E-04
-8.156139E-04
-6.590835E-04
-4.990608E-04
-3.410935E-04
-1.900346E-04
-4.996548E-05
7.584885E-05
1.849720E-04
2.757810E-04
3.474262E-04
3.997714E-04
4.333170E-04
4.491120E-04
4.486584E-04
4.338109E-04
4.066777E-04
3.695239E-04
3.246806E-04
2.744624E-04
2.210949E-04
1.666531E-04
1.130114E-04
6.180637E-05
1.441058E-05
-2.808139E-05
-6.485680E-05
-9.537906E-05
-1.193736E-04
-1.368073E-04
-1.478618E-04
-1.529037E-04
-1.524516E-04
-1.471423E-04
-1.376968E-04
-1.248878E-04
-1.095084E-04
-9.234507E-05
-7.415237E-05
-5.563263E-05
-3.741916E-05
-2.006370E-05
-4.027839E-06
1.032156E-05
2.271350E-05
3.297070E-05
4.100468E-05
4.680857E-05
5.044806E-05
5.205111E-05
5.179674E-05
4.990351E-05
4.661797E-05
4.220361E-05
3.693038E-05
3.106534E-05
2.486435E-05
1.856510E-05
1.238155E-05
6.499670E-06
1.074675E-06
-3.770514E-06
-7.945564E-06
-1.139195E-05
-1.408123E-05
-1.601258E-05
-1.720964E-05
-1.771704E-05
-1.759654E-05
-1.692314E-05
-1.578115E-05
-1.426039E-05
-1.245273E-05
-1.044886E-05
-8.335524E-06
-6.193159E-06
-4.094028E-06
-2.100820E-06
-2.657143E-07
1.370112E-06
2.776560E-06
3.934326E-06
4.834297E-06
5.476695E-06
5.870007E-06
6.029782E-06
5.977322E-06
5.738356E-06
5.341698E-06
4.817980E-06
4.198453E-06
3.513915E-06
2.793769E-06
2.065233E-06
1.352714E-06
6.773380E-07
5.664420E-08
-4.955768E-07
-9.693001E-07
-1.358164E-06
-1.659259E-06
-1.872831E-06
-2.001917E-06
-2.051928E-06
-2.030210E-06
-1.945586E-06
-1.807905E-06
-1.627609E-06
-1.415329E-06
-1.181522E-06
-9.361540E-07
-6.884342E-07
-4.466046E-07
-2.177844E-07
-7.867240E-09
1.785291E-07
3.380671E-07
4.686520E-07
5.693586E-07
6.403283E-07
6.826440E-07
6.981886E-07
6.894933E-07
6.595836E-07
6.118250E-07
5.497766E-07
4.770547E-07
3.972093E-07
3.136181E-07
2.293966E-07
1.473278E-07
6.981025E-08
-1.173890E-09
-6.319897E-08
-1.133212E-07
-1.497382E-07