<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=ICEMEASURE</id>
	<title>ICEMEASURE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=ICEMEASURE"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICEMEASURE&amp;action=history"/>
	<updated>2026-04-09T14:31:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=ICEMEASURE&amp;diff=639&amp;oldid=prev</id>
		<title>ConvertBot: ICE module test routines (NextMidas Only)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICEMEASURE&amp;diff=639&amp;oldid=prev"/>
		<updated>2020-04-27T19:19:33Z</updated>

		<summary type="html">&lt;p&gt;ICE module test routines (NextMidas Only)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:19, 27 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l266&quot; &gt;Line 266:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 266:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:ICE_Explain]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=ICEMEASURE&amp;diff=596&amp;oldid=prev</id>
		<title>ConvertBot: ICE module test routines (NextMidas Only)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICEMEASURE&amp;diff=596&amp;oldid=prev"/>
		<updated>2020-04-27T18:59:46Z</updated>

		<summary type="html">&lt;p&gt;ICE module test routines (NextMidas Only)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;ICE module test routines (NextMidas Only)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;function&amp;gt;    Function to perform ( BAND, CHAR, NPR, ... )&lt;br /&gt;
&amp;lt;out&amp;gt;         Type 3000 output data file&lt;br /&gt;
&amp;lt;in1&amp;gt;         Type 1000/2000 scalar frequency domain input file&lt;br /&gt;
&lt;br /&gt;
This primitive will perform signal processing algorithms on waveforms received&lt;br /&gt;
from an ICE module. The input data is assumed to be the magnitude of a&lt;br /&gt;
transformed waveform. Passing in complex or time domain waveform will result&lt;br /&gt;
in unexpected behavior. &lt;br /&gt;
&lt;br /&gt;
The valid functions are:&lt;br /&gt;
&lt;br /&gt;
  BAND &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;fs&amp;gt; &amp;lt;fbw&amp;gt; &amp;lt;thresh&amp;gt;&lt;br /&gt;
    Characterize a band-limited frequncy spectrum.&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      fs - Sampling rate of the waveform (in Hertz)&lt;br /&gt;
      fbw - Fractional bandwidth the waveform occupies (perc. b.w.)&lt;br /&gt;
      thresh - Value for comparison (in dB)&lt;br /&gt;
&lt;br /&gt;
    Outputs:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
          NF - Median Noise Floor value inside signal bandwidth (in dB)&lt;br /&gt;
          IN - Percentage of in-band bins above NF+thresh&lt;br /&gt;
          OUT - Percentage of out-of-band bins above NF+thresh&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      wave tmp1 shape=white&lt;br /&gt;
      firkais tmpfir band .5 .3 ,,, 10&lt;br /&gt;
      fdfilter tmp1 tmpfir tmp2&lt;br /&gt;
      fft/mag tmp2 ftmp2&lt;br /&gt;
      icemeas band flist ftmp2 1 .3 3&lt;br /&gt;
      list flist /bg&lt;br /&gt;
      fcalc fplot ftmp2 log 10 *&lt;br /&gt;
      plot fplot type=line&lt;br /&gt;
&lt;br /&gt;
  CHAR &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;fs&amp;gt; &amp;lt;fbw&amp;gt; &amp;lt;thresh&amp;gt; &amp;lt;freq1&amp;gt;&lt;br /&gt;
    Characterize a frequency band with one active signal.&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      fs - Sampling rate of the waveform (in Hertz)&lt;br /&gt;
      fbw - Fractional bandwidth the waveform occupies (perc. b.w.)&lt;br /&gt;
      thresh - Value for comparison (in dB)&lt;br /&gt;
      freq1 - Frequency of the tone (in Hertz)&lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
        SNR - Signal-to-Noise Ratio in dB&lt;br /&gt;
        SFDR - Spur-free dynamic range in dB&lt;br /&gt;
        NF - Median Noise Floor in dB (adjusted for FFT size)&lt;br /&gt;
        THRESH - Percentage of bins above NF+thresh&lt;br /&gt;
        SIG - Signal Amplitude in dB&lt;br /&gt;
        MAXSPUR - Max. Spur Amplitude in dB&lt;br /&gt;
        MAXSPURFREQ - Max. Spur Frequency&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      wave tmp freq=10e6 elem=128k delta=5e-9&lt;br /&gt;
      fft/mag tmp ftmp 32k bh92 &lt;br /&gt;
      icemeas char flist ftmp 200e6 1 3 10e6&lt;br /&gt;
      list flist /bg&lt;br /&gt;
      fcalc fplot ftmp log 10 * &lt;br /&gt;
      plot fplot type=line&lt;br /&gt;
&lt;br /&gt;
  HARM &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;fs&amp;gt; &amp;lt;thresh&amp;gt; &amp;lt;freq1&amp;gt; &amp;lt;freq2&amp;gt; &amp;lt;order&amp;gt;&lt;br /&gt;
    Characterize a frequency band with two active tones.&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      fs - sampling rate of the waveform (in Hertz)&lt;br /&gt;
      thresh - Value for comparison (in dB)&lt;br /&gt;
      freq1 - Frequency of the 1st signal (in Hertz)&lt;br /&gt;
      freq2 - Frequency of the 2nd signal (in Hertz)&lt;br /&gt;
      order - Number of harmonics and intermods to consider &lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
        SNR - Signal-to-Noise Ratio in dB&lt;br /&gt;
        S1S2 - Peak amplitude delta between the 2 signals in dB&lt;br /&gt;
        SFDR - Spur-free dynamic range in dB&lt;br /&gt;
        NF - Median Noise Floor in dB (adjusted for FFT size)&lt;br /&gt;
        THRESH - Percentage of bins above NF+thresh&lt;br /&gt;
        MAXSPUR - Max. spur amplitude in dB&lt;br /&gt;
        MAXSPURFREQ - Max. spur frequency in Hertz&lt;br /&gt;
      Optional subrecord (based upon order):&lt;br /&gt;
        HNF1FREQ - Nth order harmonic frequency from 1st signal in Hertz&lt;br /&gt;
        HNF1POW - Nth order harmonic power from 1st signal in dB&lt;br /&gt;
        HNF1DBC - Nth order harmonic power below carrier from 1st signal in dB&lt;br /&gt;
        INAFREQ - Nth order intermod 1 frequency in Hertz&lt;br /&gt;
        INAPOW - Nth order intermod 1 power in dB&lt;br /&gt;
        INADBC - Nth order intermod 1 power below carrier in dB&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      home fat ice&lt;br /&gt;
      %gentones tmp 100e6 128k 1 5k 4 5k 64 f1 f2 &lt;br /&gt;
      home restore&lt;br /&gt;
      fft/mag tmp ftmp 32k bh92 &lt;br /&gt;
      icemeas harm flist ftmp 100e6 6 f1 f2 2&lt;br /&gt;
      list flist /bg&lt;br /&gt;
      fcalc fplot ftmp log 10 *&lt;br /&gt;
      plot fplot type=line&lt;br /&gt;
&lt;br /&gt;
  MSE &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;in2&amp;gt; &amp;lt;segments&amp;gt;&lt;br /&gt;
    Determine the mean squared error between two waveforms. One file should be&lt;br /&gt;
    a templated or 'clean' version of the waveform. Specify the number of &lt;br /&gt;
    (frequency) segments to partition the transformed waveform for increased&lt;br /&gt;
    resolution. This is particularly useful for 'noise-like' waveforms. Each&lt;br /&gt;
    (frequency) segment will get averaged together for comparison. Note, the&lt;br /&gt;
    two signals must have the same transform size (NFFT).&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      in2 - Templated/ideal comparison signal&lt;br /&gt;
      segments - Number of frequency partitions&lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
        AVERAGE - Average mean-squared error between two signals per segment&lt;br /&gt;
        WORST - Worst mean-squared error between signals (single sample)&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      wave twave1 elem=33000 amp=512&lt;br /&gt;
      wave nwave elem=33000 shape=white&lt;br /&gt;
      fcalc twave2 twave1 nwave + &lt;br /&gt;
      thin twave1 mwave1 232&lt;br /&gt;
      thin twave2 mwave2 ,, 32k&lt;br /&gt;
      fft/mag mwave1 fwave1 nfft=1k win=bh92 navg=10&lt;br /&gt;
      fft/mag mwave2 fwave2 nfft=1k win=bh92 navg=10&lt;br /&gt;
      icemeasure mse flist fwave1 fwave2 10&lt;br /&gt;
      list flist&lt;br /&gt;
&lt;br /&gt;
  NOISE &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;fs&amp;gt; &amp;lt;fbw&amp;gt; &amp;lt;thresh&amp;gt;&lt;br /&gt;
    Characterize a noise filled frequency spectrum.&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      fs - Sampling rate of the waveform (in Hertz)&lt;br /&gt;
      fbw - Fractional bandwidth the waveform occupies (perc. b.w.)&lt;br /&gt;
      thresh - Value for comparison (in dB)&lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
        NF - Median Noise Floor with adjustment for FFT size (in dB)&lt;br /&gt;
        THRESH - Percentage of bins above NF+thresh&lt;br /&gt;
        MAXSPUR - Max. Spur Amplitude (in dB)&lt;br /&gt;
        MAXSPURFREQ - Max. Spur Frequnecy (in Herz)&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      calc xdel 1 1k /&lt;br /&gt;
      wave mwave elem=32k shape=white delta=xdel&lt;br /&gt;
      fft/mag mwave fwave nfft=1k win=bh92 navg=10&lt;br /&gt;
      icemeasure noise flist fwave 1k .5 3&lt;br /&gt;
      list flist /bg&lt;br /&gt;
      fcalc fplot fwave log 10 *&lt;br /&gt;
      plot fplot type=line&lt;br /&gt;
&lt;br /&gt;
  NOTCH &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;fs&amp;gt; &amp;lt;nbw&amp;gt; &amp;lt;fbw&amp;gt;&lt;br /&gt;
    Characterize the carrier suppression algorithm on the L-Band module. The&lt;br /&gt;
    input waveform is expected to be the frequency domain output of the L-Band&lt;br /&gt;
    tuner module. Note, use a small percentage (~2%) to catch if the algorithm&lt;br /&gt;
    is suppressing too much of the waveform.&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      fs - Sampling rate of the waveform (in Hertz)&lt;br /&gt;
      nbw - Bandwidth of the notch (in Hertz)&lt;br /&gt;
      fbw - Fractional bandwidth the waveform occupies (perc. b.w.)&lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
        MEDIAN - Median Signal Level across the bandwidth of interest (in dB)&lt;br /&gt;
        NOTCH - Median level of the Notch (in dB)&lt;br /&gt;
        TONE - Amplitude of the carrier leak-through (in dB)&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      set rate 1000000&lt;br /&gt;
      set card PIC1&lt;br /&gt;
      set flags &amp;quot;IOM1=LB2D|MUXCLK=P|MBITS=-16|RFOPTS=(DCS)/TC=OFF/ACQ/RCVR&amp;quot;&lt;br /&gt;
      set port TUNER1&lt;br /&gt;
      picd/flags=force|^flags reset card&lt;br /&gt;
      pic create fileo ci 4m rate&lt;br /&gt;
      picd/flags=^flags/port=^port set card rffreq 900&lt;br /&gt;
      picd/flags=^flags/port=^port set card rfbw 50&lt;br /&gt;
      picd/replay=-2/port=^port/flags=^flags acquire card fileo&lt;br /&gt;
      fft/mag fileo ftmp 64k navg=10 win=bh92&lt;br /&gt;
      icemeasure notch flist ftmp rate 4e3 .02&lt;br /&gt;
      list flist&lt;br /&gt;
&lt;br /&gt;
  NPR &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;freq1&amp;gt; &amp;lt;bw1&amp;gt; &amp;lt;freq2&amp;gt; &amp;lt;bw2&amp;gt; &amp;lt;freqn&amp;gt; &amp;lt;bwn&amp;gt;&lt;br /&gt;
    Characterize a Noise Power Ratio test signal. This function will calculate&lt;br /&gt;
    the amplitude difference between the two passbands. It will also calculate&lt;br /&gt;
    the notch depth.&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      freq1 - First passband starting offset (percentage)&lt;br /&gt;
      bw1 - First passband width (percentage)&lt;br /&gt;
      freq2 - Second passband starting offset (percentage)&lt;br /&gt;
      bw2 - Second passband width (percentage)&lt;br /&gt;
      freqn - Notch starting offset (percentage) &lt;br /&gt;
      bwn - Notch width (percentage)&lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
        SIGNAL - Amplitude delta amplified spectra (in dB)&lt;br /&gt;
        NOTCH - Notch depth (in dB)&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      home fat ice&lt;br /&gt;
      %gennpr/cmplx ci_npr 10k 32k 100e6 .5 .3 .05 512 &lt;br /&gt;
      home restore&lt;br /&gt;
      fft/mag ci_npr fwave win=bh92 navg=10&lt;br /&gt;
      icemeasure npr flist fwave .1 .4 .64 .24 .59 .02&lt;br /&gt;
      list flist /bg&lt;br /&gt;
      fcalc fplot fwave log 10 *&lt;br /&gt;
      plot fplot type=line&lt;br /&gt;
&lt;br /&gt;
  SONET &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;in2&amp;gt; &amp;lt;skip2&amp;gt; &amp;lt;frame&amp;gt; &amp;lt;cor&amp;gt; &amp;lt;off&amp;gt;&lt;br /&gt;
    Look for correlations between two input files and determine BER&lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      in2 - Second input file&lt;br /&gt;
      skip2 - Number of samples to skip at the front end of 2nd input&lt;br /&gt;
      frame - Frame size of OC signal&lt;br /&gt;
      cor - Number of frames to correlate over&lt;br /&gt;
      off - Number of samples into the first input (in1) signal where &lt;br /&gt;
            correlation was found (output result) &lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
      ERRORS - Number of errors&lt;br /&gt;
      PROC - Number of points processed&lt;br /&gt;
      BER - Bit Error Rate&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
       home fat ice&lt;br /&gt;
       wave inp1 elem=16k shape=white amp=2k&lt;br /&gt;
       wave inp2 elem=64k shape=sin amp=4k&lt;br /&gt;
       mergefile inp2 inp1&lt;br /&gt;
       icemeas sonet flist inp1 inp2 0 1k 64 off&lt;br /&gt;
       list flist /bg&lt;br /&gt;
       say &amp;quot;Found match ^off samples in&amp;quot;&lt;br /&gt;
       home restore&lt;br /&gt;
&lt;br /&gt;
  UDP  &amp;lt;out&amp;gt; &amp;lt;in1&amp;gt; &amp;lt;levels&amp;gt;&lt;br /&gt;
    Validate input ramp file &lt;br /&gt;
&lt;br /&gt;
    Additional Arguments:&lt;br /&gt;
      levels - Amplitude scale (2^levels) &lt;br /&gt;
&lt;br /&gt;
    Output:&lt;br /&gt;
      Creates a type 3000 data file with the following sub-records:&lt;br /&gt;
      MAXDELTA - Largest delta between samples&lt;br /&gt;
      ERRORS - Number of errors in file&lt;br /&gt;
&lt;br /&gt;
    Example:&lt;br /&gt;
      home fat ice&lt;br /&gt;
      set levels 10&lt;br /&gt;
      calc amp_ 2 levels **&lt;br /&gt;
      calc freq_ 1 2 levels 1 + ** /&lt;br /&gt;
      wave mfile si 8k saw amp_ freq=^freq_&lt;br /&gt;
      icemeas udp flist mfile levels &lt;br /&gt;
      list flist /bg&lt;br /&gt;
      home restore&lt;br /&gt;
&lt;br /&gt;
Switches: NONE&lt;br /&gt;
&lt;br /&gt;
Widgets: NONE&lt;br /&gt;
&lt;br /&gt;
See Also:  ICEFAT, PIC, PICD&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>