Skip to content

Commit

Permalink
going to test the example next
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Miller committed Aug 23, 2015
1 parent a18dbc2 commit 6952631
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 44 deletions.
12 changes: 6 additions & 6 deletions grc/phase-comparator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<name>Phase Comparator</name>
<key>phase_comparator</key>
<category>Math Operators</category>
<import>import grphasecomparator</import>
<make>grphasecomparator.phase_comparator(wrap_window=$wrap_window)</make>
<import>import phase_comparator.phase_comparator</import>
<make>phase_comparator(wrap_window=$wrap_window)</make>

<param>
<name>Wrap Window</name>
<key>wrap_window</key>
<value>[-2.8,2.8]</value>
<type>real_vector</type>
<value>0.34</value>
<type>float</type>
</param>

<check> len($wrap_window) == 2 and $(wrap_window)[0] &lt;= 0 and $(wrap_window)[1] &gt;= 0 </check>
Expand All @@ -33,8 +33,8 @@
Compare the difference in phase between two complex signals, trying to un-wrap PI rolls where possible (i.e., ideally the phase would progress: 3, 3.1, 3.15, 4, 5, 7, etc)

Args:
wrap_window: default=%s
e.g., if sample n-1 is above window[1] and sample n is below window[0], then wrap a couple PI
wrap_window: default=0.34
e.g., if sample n-1 is above -π+wrap_window or below π-wrap_window, then wrap a couple (more?) π.
</doc>

</block>
38 changes: 0 additions & 38 deletions grc/phase_comparator_phase_comparator.xml

This file was deleted.

0 comments on commit 6952631

Please sign in to comment.