projects
/
physik
/
nlsop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba58aca
)
print out max magnitude
author
hackbard
<hackbard>
Thu, 7 Oct 2004 19:04:55 +0000
(19:04 +0000)
committer
hackbard
<hackbard>
Thu, 7 Oct 2004 19:04:55 +0000
(19:04 +0000)
dft.c
patch
|
blob
|
history
diff --git
a/dft.c
b/dft.c
index
c4fe566
..
3ce41a4
100644
(file)
--- a/
dft.c
+++ b/
dft.c
@@
-72,6
+72,8
@@
int main(int argc,char **argv) {
offy+=fourier.data_len[0];
}
offy+=fourier.data_len[0];
}
+ printf("found max: %f\n",max);
+
if(max!=0) scale=(int)255/max;
else scale=0;
if(max!=0) scale=(int)255/max;
else scale=0;