Skip to content

Commit

Permalink
Merge pull request #1 from Syn0rLife/master
Browse files Browse the repository at this point in the history
Filtering collection
  • Loading branch information
Obijuan authored Jan 8, 2018
2 parents 5cd8467 + 43c3f81 commit 2258ae3
Show file tree
Hide file tree
Showing 26 changed files with 16,484 additions and 0 deletions.
Binary file added blocks/Signal/Filtering/Readme.pdf
Binary file not shown.
1,196 changes: 1,196 additions & 0 deletions blocks/Signal/Filtering/add.ice

Large diffs are not rendered by default.

2,392 changes: 2,392 additions & 0 deletions blocks/Signal/Filtering/filteringcell.ice

Large diffs are not rendered by default.

2,056 changes: 2,056 additions & 0 deletions blocks/Signal/Filtering/fir1.ice

Large diffs are not rendered by default.

2,133 changes: 2,133 additions & 0 deletions blocks/Signal/Filtering/fir2.ice

Large diffs are not rendered by default.

870 changes: 870 additions & 0 deletions blocks/Signal/Filtering/gain.ice

Large diffs are not rendered by default.

2,898 changes: 2,898 additions & 0 deletions blocks/Signal/Filtering/iir.ice

Large diffs are not rendered by default.

Binary file added blocks/Signal/Filtering/source/icestudio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blocks/Signal/Filtering/source/images/gain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blocks/Signal/Filtering/source/images/zminus1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions blocks/Signal/Filtering/source/main.aux
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
\relax
\catcode `:\active
\catcode `;\active
\catcode `!\active
\catcode `?\active
\select@language{french}
\@writefile{toc}{\select@language{french}}
\@writefile{lof}{\select@language{french}}
\@writefile{lot}{\select@language{french}}
2,053 changes: 2,053 additions & 0 deletions blocks/Signal/Filtering/source/main.bcf

Large diffs are not rendered by default.

1,338 changes: 1,338 additions & 0 deletions blocks/Signal/Filtering/source/main.log

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions blocks/Signal/Filtering/source/main.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" standalone="yes"?>
<!-- logreq request file -->
<!-- logreq version 1.0 / dtd version 1.0 -->
<!-- Do not edit this file! -->
<!DOCTYPE requests [
<!ELEMENT requests (internal | external)*>
<!ELEMENT internal (generic, (provides | requires)*)>
<!ELEMENT external (generic, cmdline?, input?, output?, (provides | requires)*)>
<!ELEMENT cmdline (binary, (option | infile | outfile)*)>
<!ELEMENT input (file)+>
<!ELEMENT output (file)+>
<!ELEMENT provides (file)+>
<!ELEMENT requires (file)+>
<!ELEMENT generic (#PCDATA)>
<!ELEMENT binary (#PCDATA)>
<!ELEMENT option (#PCDATA)>
<!ELEMENT infile (#PCDATA)>
<!ELEMENT outfile (#PCDATA)>
<!ELEMENT file (#PCDATA)>
<!ATTLIST requests
version CDATA #REQUIRED
>
<!ATTLIST internal
package CDATA #REQUIRED
priority (9) #REQUIRED
active (0 | 1) #REQUIRED
>
<!ATTLIST external
package CDATA #REQUIRED
priority (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8) #REQUIRED
active (0 | 1) #REQUIRED
>
<!ATTLIST provides
type (static | dynamic | editable) #REQUIRED
>
<!ATTLIST requires
type (static | dynamic | editable) #REQUIRED
>
<!ATTLIST file
type CDATA #IMPLIED
>
]>
<requests version="1.0">
<internal package="biblatex" priority="9" active="0">
<generic>latex</generic>
<provides type="dynamic">
<file>main.bcf</file>
</provides>
<requires type="dynamic">
<file>main.bbl</file>
</requires>
<requires type="static">
<file>blx-dm.def</file>
<file>blx-compat.def</file>
<file>biblatex_.def</file>
<file>numeric.bbx</file>
<file>standard.bbx</file>
<file>numeric.cbx</file>
<file>biblatex.cfg</file>
<file>english.lbx</file>
<file>french.lbx</file>
</requires>
</internal>
<external package="biblatex" priority="5" active="0">
<generic>biber</generic>
<cmdline>
<binary>biber</binary>
<infile>main</infile>
</cmdline>
<input>
<file>main.bcf</file>
</input>
<output>
<file>main.bbl</file>
</output>
<provides type="dynamic">
<file>main.bbl</file>
</provides>
<requires type="dynamic">
<file>main.bcf</file>
</requires>
<requires type="editable">
<file>biblio.bib</file>
</requires>
</external>
</requests>
60 changes: 60 additions & 0 deletions blocks/Signal/Filtering/source/main.sagetex.sage
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## -*- encoding: utf-8 -*-
## This file (main.sagetex.sage) was *autogenerated* from main.tex with sagetex.sty version 2015/08/26 v3.0-92d9f7a.
import sagetex
_st_ = sagetex.SageTeXProcessor('main', version='2015/08/26 v3.0-92d9f7a', version_check=True)
_st_.current_tex_line = 199
_st_.blockbegin()
try:
x=var('x');
t = var('t');
x_coords = [t for t in srange(0,2,0.01)];

x = var('x');
p = var('p');
w0 = 2*pi; Q = 2; v(x) = inverse_laplace(1/p/(1+p/Q/w0+p^2/w0^2), p, x);

y5_coords = [v(x).n() for x in x_coords];

output = "";
for i in range(0,len(x_coords)-1):
output += "\draw[orange, thick] ("+str(x_coords[i])+","+str(y5_coords[i])+")--("+str(x_coords[i+1])+","+str(y5_coords[i+1])+");\n";
except:
_st_.goboom(213)
_st_.blockend()
try:
_st_.current_tex_line = 234
_st_.inline(0, output)
except:
_st_.goboom(234)
_st_.current_tex_line = 249
_st_.blockbegin()
try:
z = var('z');
p = var('p');
T = var('T');

w = 2*pi.n()*0.01;
Q = 2;

b0 = 1/(1+1/Q/w+1/w^2);
a1 = -b0/w*(1/Q+2/w);
a2 = b0/w^2;
except:
_st_.goboom(260)
_st_.blockend()
try:
_st_.current_tex_line = 264
_st_.inline(1, str(b0))
except:
_st_.goboom(264)
try:
_st_.current_tex_line = 265
_st_.inline(2, str(a1))
except:
_st_.goboom(265)
try:
_st_.current_tex_line = 266
_st_.inline(3, str(a2))
except:
_st_.goboom(266)
_st_.endofdoc()
65 changes: 65 additions & 0 deletions blocks/Signal/Filtering/source/main.sagetex.sage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## -*- encoding: utf-8 -*-

# This file was *autogenerated* from the file main.sagetex.sage
from sage.all_cmdline import * # import sage library

_sage_const_3 = Integer(3); _sage_const_2 = Integer(2); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_249 = Integer(249); _sage_const_260 = Integer(260); _sage_const_199 = Integer(199); _sage_const_265 = Integer(265); _sage_const_264 = Integer(264); _sage_const_266 = Integer(266); _sage_const_213 = Integer(213); _sage_const_0p01 = RealNumber('0.01'); _sage_const_234 = Integer(234)## This file (main.sagetex.sage) was *autogenerated* from main.tex with sagetex.sty version 2015/08/26 v3.0-92d9f7a.
import sagetex
_st_ = sagetex.SageTeXProcessor('main', version='2015/08/26 v3.0-92d9f7a', version_check=True)
_st_.current_tex_line = _sage_const_199
_st_.blockbegin()
try:
x=var('x');
t = var('t');
x_coords = [t for t in srange(_sage_const_0 ,_sage_const_2 ,_sage_const_0p01 )];

x = var('x');
p = var('p');
w0 = _sage_const_2 *pi; Q = _sage_const_2 ; __tmp__=var("x"); v = symbolic_expression(inverse_laplace(_sage_const_1 /p/(_sage_const_1 +p/Q/w0+p**_sage_const_2 /w0**_sage_const_2 ), p, x)).function(x);

y5_coords = [v(x).n() for x in x_coords];

output = "";
for i in range(_sage_const_0 ,len(x_coords)-_sage_const_1 ):
output += "\draw[orange, thick] ("+str(x_coords[i])+","+str(y5_coords[i])+")--("+str(x_coords[i+_sage_const_1 ])+","+str(y5_coords[i+_sage_const_1 ])+");\n";
except:
_st_.goboom(_sage_const_213 )
_st_.blockend()
try:
_st_.current_tex_line = _sage_const_234
_st_.inline(_sage_const_0 , output)
except:
_st_.goboom(_sage_const_234 )
_st_.current_tex_line = _sage_const_249
_st_.blockbegin()
try:
z = var('z');
p = var('p');
T = var('T');

w = _sage_const_2 *pi.n()*_sage_const_0p01 ;
Q = _sage_const_2 ;

b0 = _sage_const_1 /(_sage_const_1 +_sage_const_1 /Q/w+_sage_const_1 /w**_sage_const_2 );
a1 = -b0/w*(_sage_const_1 /Q+_sage_const_2 /w);
a2 = b0/w**_sage_const_2 ;
except:
_st_.goboom(_sage_const_260 )
_st_.blockend()
try:
_st_.current_tex_line = _sage_const_264
_st_.inline(_sage_const_1 , str(b0))
except:
_st_.goboom(_sage_const_264 )
try:
_st_.current_tex_line = _sage_const_265
_st_.inline(_sage_const_2 , str(a1))
except:
_st_.goboom(_sage_const_265 )
try:
_st_.current_tex_line = _sage_const_266
_st_.inline(_sage_const_3 , str(a2))
except:
_st_.goboom(_sage_const_266 )
_st_.endofdoc()

3 changes: 3 additions & 0 deletions blocks/Signal/Filtering/source/main.sagetex.scmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
% This file was *autogenerated* from main.sagetex.sage with
% sagetex.py version 2015/08/26 v3.0-92d9f7a
%a9496cb37a4ed8d516ee4b2330803194% md5sum of corresponding .sage file (minus "goboom", "current_tex_line", and pause/unpause lines)
Loading

0 comments on commit 2258ae3

Please sign in to comment.