aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/pd-help/vasp_rpeaks.pd
blob: 5891e6d17d3a9752e64495815572c2df78d2656c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#N canvas 36 36 814 590 10;
#X obj 72 26 cnv 15 15 15 empty empty vasp.rpeaks 0 10 1 14 -262144
-1 0;
#X obj 76 131 filelist \$0;
#N canvas 40 55 281 170 clear_buffers 0;
#X obj 54 79 vasp.update;
#X obj 54 56 vasp.= 0;
#X obj 54 26 inlet;
#X obj 54 108 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X restore 500 505 pd clear_buffers;
#X obj 65 264 vasp.update;
#X obj 65 284 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X obj 411 132 wavedisplay-simple bufrpeaks1 \$0;
#X obj 412 289 wavedisplay-simple bufrpeaks2 \$0;
#X msg 65 224 vasp bufrpeaks1 bufrpeaks2;
#X obj 65 244 vasp.cfft;
#X obj 65 510 vasp.update;
#X obj 65 530 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X msg 65 426 vasp bufrpeaks1 bufrpeaks2;
#X obj 65 446 vasp.c!fft;
#X obj 337 507 dac~;
#X obj 337 469 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 358 472 play;
#X obj 337 487 tabplay~ bufrpeaks1;
#X msg 500 485 vasp bufrpeaks1 bufrpeaks2;
#N canvas 92 108 442 392 inside 0;
#X obj 66 169 soundfiler;
#X obj 135 260 s \$0-sample-length;
#X obj 66 223 s \$0-draw_display;
#X msg 247 217 resize \$1;
#X obj 66 47 loadbang;
#X obj 66 113 filelisthandler \$0;
#X obj 247 239 s bufrpeaks1;
#X obj 258 260 s bufrpeaks2;
#X msg 247 183 88200;
#X obj 66 68 t b b;
#X msg 66 145 read \$1 bufrpeaks1;
#X obj 66 193 t b;
#X msg 66 91 2;
#X connect 0 0 11 0;
#X connect 3 0 6 0;
#X connect 3 0 7 0;
#X connect 4 0 9 0;
#X connect 5 0 10 0;
#X connect 8 0 1 0;
#X connect 8 0 3 0;
#X connect 9 0 12 0;
#X connect 9 1 8 0;
#X connect 10 0 0 0;
#X connect 11 0 2 0;
#X connect 12 0 5 0;
#X restore 689 505 pd inside;
#X text 71 65 argument/right inlet: density (0-1);
#X text 72 97 needs two vectors (real and imaginary);
#X obj 65 467 vasp.opt;
#X obj 65 489 vasp.* 0.5;
#X text 71 49 find radius peaks of a complex vasp;
#X text 71 81 right outlet: current peaks density;
#X obj 65 374 vasp.update;
#X obj 65 394 bng 15 250 50 0 \$0-draw_display empty empty 0 -6 1152
8 -262144 -1 -1;
#X msg 65 308 vasp bufrpeaks1 bufrpeaks2;
#X floatatom 156 331 5 0 0;
#X floatatom 156 398 12 0 0;
#X obj 65 354 vasp.rpeaks 0.05;
#X text 206 329 density;
#X obj 156 376 * 88200;
#X text 242 396 current peaks;
#X obj 46 559 VASP-HELP;
#X connect 3 0 4 0;
#X connect 7 0 8 0;
#X connect 8 0 3 0;
#X connect 9 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 21 0;
#X connect 14 0 16 0;
#X connect 16 0 13 0;
#X connect 16 0 13 1;
#X connect 17 0 2 0;
#X connect 21 0 22 0;
#X connect 22 0 9 0;
#X connect 25 0 26 0;
#X connect 27 0 30 0;
#X connect 28 0 30 1;
#X connect 30 0 25 0;
#X connect 30 1 32 0;
#X connect 32 0 29 0;