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 c4fe5669d8e33f1cf211261d9d485802177d7391..3ce41a40f88c278684353d0797e2f04790cd46a9 100644
(file)
--- a/
dft.c
+++ b/
dft.c
@@
-72,6
+72,8
@@
int main(int argc,char **argv) {
offy+=fourier.data_len[0];
}
+ printf("found max: %f\n",max);
+
if(max!=0) scale=(int)255/max;
else scale=0;