##// END OF EJS Templates
algunos cambios en roj
José Chávez -
r953:234bf6b7b969
parent child
Show More
@@ -0,0 +1,6
1 [Desktop Entry]
2 Encoding=UTF-8
3 Name=Link to
4 Type=Link
5 URL=file:///home/nanosat/schain/schainpy/utils/parameters.txt
6 Icon=text-plain
This diff has been collapsed as it changes many lines, (1160 lines changed) Show them Hide them
@@ -0,0 +1,1160
1 You should install "digital_rf_hdf5" module if you want to read USRP data
2 BeaconPhase
3 parameters = {
4 'id': 'string',
5 'wintitle': 'string',
6 'pairsList': 'pairsList',
7 'showprofile': 'boolean',
8 'xmin': 'float',
9 'xmax': 'float',
10 'ymin': 'float',
11 'ymax': 'float',
12 'hmin': 'float',
13 'hmax': 'float',
14 'timerange': 'float',
15 'save': 'boolean',
16 'figpath': 'string',
17 'figfile': 'string',
18 'show': 'boolean',
19 'ftp': 'boolean',
20 'wr_period': 'int',
21 'server': 'string',
22 'folder': 'string',
23 'username': 'string',
24 'password': 'string',
25 'ftp_wei': 'int',
26 'exp_code': 'int',
27 'sub_exp_code': 'int',
28 'plot_pos': 'int',
29 }
30
31
32 BeamSelector
33 parameters = {
34 'beam': 'string',
35 }
36
37
38 CohInt
39 parameters = {
40 'n': 'int',
41 'timeInterval': 'float',
42 'overlapping': 'boolean',
43 'byblock': 'boolean'
44 }
45
46
47 CoherenceMap
48 parameters = {
49 'id': 'string',
50 'wintitle': 'string',
51 'pairsList': 'pairsLists',
52 'showprofile': 'boolean',
53 'xmin': 'float',
54 'xmax': 'float',
55 'ymin': 'float',
56 'ymax': 'float',
57 'zmin': 'float',
58 'zmax': 'float',
59 'timerange': 'float',
60 'phase_min': 'float',
61 'phase_max': 'float',
62 'save': 'boolean',
63 'figpath': 'string',
64 'figfile': 'string',
65 'ftp': 'boolean',
66 'wr_period': 'int',
67 'coherence_cmap': 'colormap',
68 'phase_cmap': 'colormap',
69 'show': 'boolean',
70 'server': 'string',
71 'folder': 'string',
72 'username': 'string',
73 'password': 'string',
74 'ftp_wei': 'int',
75 'exp_code': 'int',
76 'sub_exp_code': 'int',
77 'plot_pos': 'int',
78 }
79
80
81 CombineProfiles
82 parameters = {
83 'n': 'int',
84 }
85
86
87 CorrectSMPhases
88 parameters = {
89 'phaseOffsets': 'pairsLists',
90 'hmin': 'float',
91 'hmax': 'float',
92 'azimuth': 'string',
93 'channelPositions': 'string',
94 }
95
96
97 CorrelationPlot
98 parameters = {
99 'id': 'string',
100 'wintitle': 'string',
101 'channelList': 'string',
102 'showprofile': 'string',
103 'xmin': 'float',
104 'xmax': 'float',
105 'ymin': 'float',
106 'ymax': 'float',
107 'zmin': 'float',
108 'zmax': 'float',
109 'save': 'boolean',
110 'figpath': 'string',
111 'figfile': 'string',
112 'show': 'boolean',
113 'ftp': 'boolean',
114 'wr_period': 'int',
115 'server': 'string',
116 'folder': 'string',
117 'username': 'string',
118 'password': 'string',
119 'ftp_wei': 'string',
120 'exp_code': 'int',
121 'sub_exp_code': 'int',
122 'plot_pos': 'int',
123 'realtime': 'string',
124 }
125
126
127 CrossSpectraPlot
128 parameters = {
129 'id': 'string',
130 'wintitle': 'string',
131 'pairsList': 'pairsLists',
132 'xmin': 'float',
133 'xmax': 'float',
134 'ymin': 'float',
135 'ymax': 'float',
136 'zmin': 'float',
137 'zmax': 'float',
138 'coh_min': 'string',
139 'coh_max': 'string',
140 'phase_min': 'string',
141 'phase_max': 'string',
142 'save': 'boolean',
143 'figpath': 'string',
144 'figfile': 'string',
145 'ftp': 'boolean',
146 'wr_period': 'int',
147 'power_cmap': 'string',
148 'coherence_cmap': 'string',
149 'phase_cmap': 'string',
150 'show': 'string',
151 'server': 'string',
152 'folder': 'string',
153 'username': 'string',
154 'password': 'string',
155 'ftp_wei': 'string',
156 'exp_code': 'int',
157 'sub_exp_code': 'int',
158 'plot_pos': 'int',
159 'xaxis': 'string',
160 }
161
162
163 Decoder
164 parameters = {
165 'code': 'string',
166 'nCode': 'string',
167 'nBaud': 'string',
168 'mode': 'string',
169 'osamp': 'string',
170 'times': 'string',
171 }
172
173
174 EWDriftsEstimation
175 parameters = {
176 'zenith': 'string',
177 'zenithCorrection': 'string',
178 }
179
180
181 EWDriftsPlot
182 parameters = {
183 'id': 'string',
184 'wintitle': 'string',
185 'channelList': 'string',
186 'xmin': 'float',
187 'xmax': 'float',
188 'ymin': 'float',
189 'ymax': 'float',
190 'zmin': 'float',
191 'zmax': 'float',
192 'zmaxVertfloat 'string',
193 'zminVertfloat 'string',
194 'zmaxZonafloattring',
195 'zminZonafloattring',
196 'timerange': 'string',
197 'SNRthresh': 'string',
198 'SNRmin': 'string',
199 'SNRmax': 'string',
200 'SNR_1': 'string',
201 'save': 'boolean',
202 'figpath': 'string',
203 'lastone': 'string',
204 'figfile': 'string',
205 'ftp': 'string',
206 'wr_period': 'int',
207 'show': 'string',
208 'server': 'string',
209 'folder': 'string',
210 'username': 'string',
211 'password': 'string',
212 'ftp_wei': 'string',
213 'exp_code': 'int',
214 'sub_exp_code': 'int',
215 'plot_pos': 'int',
216 }
217
218
219 Figure
220 parameters = {
221 : 'string',
222 }
223
224
225 FitsWriter
226 parameters = {
227 : 'string',
228 }
229
230
231 IncohInt
232 parameters = {
233 'n': 'string',
234 'timeInterval': 'string',
235 'overlapping': 'string',
236 }
237
238
239 IncohInt4SpectraHeis
240 parameters = {
241 : 'string',
242 }
243
244
245 MomentsPlot
246 parameters = {
247 'id': 'string',
248 'wintitle': 'string',
249 'channelList': 'string',
250 'showprofile': 'string',
251 'xmin': 'float',
252 'xmax': 'float',
253 'ymin': 'float',
254 'ymax': 'float',
255 'zmin': 'float',
256 'zmax': 'float',
257 'save': 'boolean',
258 'figpath': 'string',
259 'figfile': 'string',
260 'show': 'string',
261 'ftp': 'string',
262 'wr_period': 'int',
263 'server': 'string',
264 'folder': 'string',
265 'username': 'string',
266 'password': 'string',
267 'ftp_wei': 'string',
268 'exp_code': 'int',
269 'sub_exp_code': 'int',
270 'plot_pos': 'int',
271 'realtime': 'string',
272 }
273
274
275 NSMeteorDetection1Plot
276 parameters = {
277 'id': 'string',
278 'wintitle': 'string',
279 'channelList': 'string',
280 'showprofile': 'string',
281 'xmin': 'float',
282 'xmax': 'float',
283 'ymin': 'float',
284 'ymax': 'float',
285 'SNRmin': 'string',
286 'SNRmax': 'string',
287 'vmin': 'string',
288 'vmax': 'string',
289 'wmin': 'string',
290 'wmax': 'string',
291 'mode': 'string',
292 'save': 'boolean',
293 'figpath': 'string',
294 'figfile': 'string',
295 'show': 'string',
296 'ftp': 'string',
297 'wr_period': 'int',
298 'server': 'string',
299 'folder': 'string',
300 'username': 'string',
301 'password': 'string',
302 'ftp_wei': 'string',
303 'exp_code': 'int',
304 'sub_exp_code': 'int',
305 'plot_pos': 'int',
306 'realtime': 'string',
307 'xaxis': 'string',
308 }
309
310
311 NSMeteorDetection2Plot
312 parameters = {
313 'id': 'string',
314 'wintitle': 'string',
315 'channelList': 'string',
316 'showprofile': 'string',
317 'xmin': 'float',
318 'xmax': 'float',
319 'ymin': 'float',
320 'ymax': 'float',
321 'SNRmin': 'string',
322 'SNRmax': 'string',
323 'vmin': 'string',
324 'vmax': 'string',
325 'wmin': 'string',
326 'wmax': 'string',
327 'mode': 'string',
328 'save': 'boolean',
329 'figpath': 'string',
330 'figfile': 'string',
331 'show': 'string',
332 'ftp': 'string',
333 'wr_period': 'int',
334 'server': 'string',
335 'folder': 'string',
336 'username': 'string',
337 'password': 'string',
338 'ftp_wei': 'string',
339 'exp_code': 'int',
340 'sub_exp_code': 'int',
341 'plot_pos': 'int',
342 'realtime': 'string',
343 'xaxis': 'string',
344 }
345
346
347 Noise
348 parameters = {
349 'id': 'string',
350 'wintitle': 'string',
351 'channelList': 'string',
352 'showprofile': 'string',
353 'xmin': 'float',
354 'xmax': 'float',
355 'ymin': 'float',
356 'ymax': 'float',
357 'timerange': 'string',
358 'save': 'boolean',
359 'figpath': 'string',
360 'figfile': 'string',
361 'show': 'string',
362 'ftp': 'string',
363 'wr_period': 'int',
364 'server': 'string',
365 'folder': 'string',
366 'username': 'string',
367 'password': 'string',
368 'ftp_wei': 'string',
369 'exp_code': 'int',
370 'sub_exp_code': 'int',
371 'plot_pos': 'int',
372 }
373
374
375 NonSpecularMeteorDetection
376 parameters = {
377 'mode': 'string',
378 'SNRthresh': 'string',
379 'phaseDerThresh': 'string',
380 'cohThresh': 'string',
381 'allData': 'string',
382 }
383
384
385 Operation
386 parameters = {
387 'dataIn': 'string',
388 }
389
390
391 ParamWriter
392 parameters = {
393 : 'string',
394 }
395
396
397 Parameters1Plot
398 parameters = {
399 'id': 'string',
400 'wintitle': 'string',
401 'channelList': 'string',
402 'showprofile': 'string',
403 'xmin': 'float',
404 'xmax': 'float',
405 'ymin': 'float',
406 'ymax': 'float',
407 'zmin': 'float',
408 'zmax': 'float',
409 'timerange': 'string',
410 'parameterIndex': 'string',
411 'onlyPositive': 'string',
412 'SNRthresh': 'string',
413 'SNR': 'string',
414 'SNRmin': 'string',
415 'SNRmax': 'string',
416 'onlySNR': 'string',
417 'DOP': 'string',
418 'zlabel': 'string',
419 'parameterName': 'string',
420 'parameterObject': 'string',
421 'save': 'boolean',
422 'figpath': 'string',
423 'lastone': 'string',
424 'figfile': 'string',
425 'ftp': 'string',
426 'wr_period': 'int',
427 'show': 'string',
428 'server': 'string',
429 'folder': 'string',
430 'username': 'string',
431 'password': 'string',
432 'ftp_wei': 'string',
433 'exp_code': 'int',
434 'sub_exp_code': 'int',
435 'plot_pos': 'int',
436 }
437
438
439 ParametersPlot
440 parameters = {
441 'id': 'string',
442 'wintitle': 'string',
443 'channelList': 'string',
444 'paramIndex': 'string',
445 'colormap': 'string',
446 'xmin': 'float',
447 'xmax': 'float',
448 'ymin': 'float',
449 'ymax': 'float',
450 'zmin': 'float',
451 'zmax': 'float',
452 'timerange': 'string',
453 'showSNR': 'string',
454 'SNRthresh': 'string',
455 'SNRmin': 'string',
456 'SNRmax': 'string',
457 'save': 'boolean',
458 'figpath': 'string',
459 'lastone': 'string',
460 'figfile': 'string',
461 'ftp': 'string',
462 'wr_period': 'int',
463 'show': 'string',
464 'server': 'string',
465 'folder': 'string',
466 'username': 'string',
467 'password': 'string',
468 'ftp_wei': 'string',
469 'exp_code': 'int',
470 'sub_exp_code': 'int',
471 'plot_pos': 'int',
472 }
473
474
475 PhasePlot
476 parameters = {
477 'id': 'string',
478 'wintitle': 'string',
479 'pairsList': 'pairsLists',
480 'showprofile': 'string',
481 'xmin': 'float',
482 'xmax': 'float',
483 'ymin': 'float',
484 'ymax': 'float',
485 'timerange': 'string',
486 'save': 'boolean',
487 'figpath': 'string',
488 'figfile': 'string',
489 'show': 'string',
490 'ftp': 'string',
491 'wr_period': 'int',
492 'server': 'string',
493 'folder': 'string',
494 'username': 'string',
495 'password': 'string',
496 'ftp_wei': 'string',
497 'exp_code': 'int',
498 'sub_exp_code': 'int',
499 'plot_pos': 'int',
500 }
501
502
503 PlotCOHData
504 parameters = {
505 : 'string',
506 }
507
508
509 PlotCrossSpectraData
510 parameters = {
511 : 'string',
512 }
513
514
515 PlotDOPData
516 parameters = {
517 : 'string',
518 }
519
520
521 PlotData
522 parameters = {
523 : 'string',
524 }
525
526
527 PlotNoiseData
528 parameters = {
529 : 'string',
530 }
531
532
533 PlotPHASEData
534 parameters = {
535 : 'string',
536 }
537
538
539 PlotRTIData
540 parameters = {
541 : 'string',
542 }
543
544
545 PlotSNRData
546 parameters = {
547 : 'string',
548 }
549
550
551 PlotSpectraData
552 parameters = {
553 : 'string',
554 }
555
556
557 PlotSpectraMeanData
558 parameters = {
559 : 'string',
560 }
561
562
563 PlotWindProfilerData
564 parameters = {
565 : 'string',
566 }
567
568
569 PowerProfilePlot
570 parameters = {
571 'id': 'string',
572 'wintitle': 'string',
573 'channelList': 'string',
574 'xmin': 'float',
575 'xmax': 'float',
576 'ymin': 'float',
577 'ymax': 'float',
578 'save': 'boolean',
579 'figpath': 'string',
580 'figfile': 'string',
581 'show': 'string',
582 'ftp': 'string',
583 'wr_period': 'int',
584 'server': 'string',
585 'folder': 'string',
586 'username': 'string',
587 'password': 'string',
588 }
589
590
591 PrintInfo
592 parameters = {
593 : 'string',
594 }
595
596
597 ProfileConcat
598 parameters = {
599 'm': 'string',
600 }
601
602
603 ProfileSelector
604 parameters = {
605 'profileList': 'string',
606 'profileRangeList': 'string',
607 'beam': 'string',
608 'byblock': 'string',
609 'rangeList': 'string',
610 'nProfiles': 'string',
611 }
612
613
614 ProfileToChannels
615 parameters = {
616 : 'string',
617 }
618
619
620 PublishData
621 parameters = {
622 : 'string',
623 }
624
625
626 RTIPlot
627 parameters = {
628 'id': 'string',
629 'wintitle': 'string',
630 'channelList': 'string',
631 'showprofile': 'string',
632 'xmin': 'float',
633 'xmax': 'float',
634 'ymin': 'float',
635 'ymax': 'float',
636 'zmin': 'float',
637 'zmax': 'float',
638 'timerange': 'string',
639 'save': 'boolean',
640 'figpath': 'string',
641 'lastone': 'string',
642 'figfile': 'string',
643 'ftp': 'string',
644 'wr_period': 'int',
645 'show': 'string',
646 'server': 'string',
647 'folder': 'string',
648 'username': 'string',
649 'password': 'string',
650 'ftp_wei': 'string',
651 'exp_code': 'int',
652 'sub_exp_code': 'int',
653 'plot_pos': 'int',
654 }
655
656
657 RTIfromSpectraHeis
658 parameters = {
659 'id': 'string',
660 'wintitle': 'string',
661 'channelList': 'string',
662 'showprofile': 'string',
663 'xmin': 'float',
664 'xmax': 'float',
665 'ymin': 'float',
666 'ymax': 'float',
667 'timerange': 'string',
668 'save': 'boolean',
669 'figpath': 'string',
670 'figfile': 'string',
671 'ftp': 'string',
672 'wr_period': 'int',
673 'show': 'string',
674 'server': 'string',
675 'folder': 'string',
676 'username': 'string',
677 'password': 'string',
678 'ftp_wei': 'string',
679 'exp_code': 'int',
680 'sub_exp_code': 'int',
681 'plot_pos': 'int',
682 }
683
684
685 Reshaper
686 parameters = {
687 'shape': 'string',
688 'nTxs': 'string',
689 }
690
691
692 SALags
693 parameters = {
694 : 'string',
695 }
696
697
698 SMDetection
699 parameters = {
700 'hei_ref': 'string',
701 'tauindex': 'string',
702 'phaseOffsets': 'string',
703 'cohDetection': 'string',
704 'cohDet_timeStep': 'string',
705 'cohDet_thresh': 'string',
706 'noise_timeStep': 'string',
707 'noise_multiple': 'string',
708 'multDet_timeLimit': 'string',
709 'multDet_rangeLimit': 'string',
710 'phaseThresh': 'string',
711 'SNRThresh': 'string',
712 'hmin': 'string',
713 'hmax': 'string',
714 'azimuth': 'string',
715 'channelPositions': 'string',
716 }
717
718
719 SMPhaseCalibration
720 parameters = {
721 'hmin': 'string',
722 'hmax': 'string',
723 'channelPositions': 'string',
724 'nHours': 'string',
725 }
726
727
728 Scope
729 parameters = {
730 'id': 'string',
731 'wintitle': 'string',
732 'channelList': 'string',
733 'xmin': 'float',
734 'xmax': 'float',
735 'ymin': 'float',
736 'ymax': 'float',
737 'save': 'boolean',
738 'figpath': 'string',
739 'figfile': 'string',
740 'show': 'string',
741 'wr_period': 'int',
742 'ftp': 'string',
743 'server': 'string',
744 'folder': 'string',
745 'username': 'string',
746 'password': 'string',
747 'type': 'string',
748 }
749
750
751 SendByFTP
752 parameters = {
753 'ext': 'string',
754 'localfolder': 'string',
755 'remotefolder': 'string',
756 'server': 'string',
757 'username': 'string',
758 'password': 'string',
759 'period': 'string',
760 }
761
762
763 SkyMapPlot
764 parameters = {
765 'id': 'string',
766 'wintitle': 'string',
767 'channelList': 'string',
768 'showprofile': 'string',
769 'tmin': 'string',
770 'tmax': 'string',
771 'timerange': 'string',
772 'save': 'boolean',
773 'figpath': 'string',
774 'figfile': 'string',
775 'show': 'string',
776 'ftp': 'string',
777 'wr_period': 'int',
778 'server': 'string',
779 'folder': 'string',
780 'username': 'string',
781 'password': 'string',
782 'ftp_wei': 'string',
783 'exp_code': 'int',
784 'sub_exp_code': 'int',
785 'plot_pos': 'int',
786 'realtime': 'string',
787 }
788
789
790 SpectraCutPlot
791 parameters = {
792 'id': 'string',
793 'wintitle': 'string',
794 'channelList': 'string',
795 'xmin': 'float',
796 'xmax': 'float',
797 'ymin': 'float',
798 'ymax': 'float',
799 'save': 'boolean',
800 'figpath': 'string',
801 'figfile': 'string',
802 'show': 'string',
803 'ftp': 'string',
804 'wr_period': 'int',
805 'server': 'string',
806 'folder': 'string',
807 'username': 'string',
808 'password': 'string',
809 'xaxis': 'string',
810 }
811
812
813 SpectraHeisScope
814 parameters = {
815 'id': 'string',
816 'wintitle': 'string',
817 'channelList': 'string',
818 'xmin': 'float',
819 'xmax': 'float',
820 'ymin': 'float',
821 'ymax': 'float',
822 'save': 'boolean',
823 'figpath': 'string',
824 'figfile': 'string',
825 'ftp': 'string',
826 'wr_period': 'int',
827 'show': 'string',
828 'server': 'string',
829 'folder': 'string',
830 'username': 'string',
831 'password': 'string',
832 'ftp_wei': 'string',
833 'exp_code': 'int',
834 'sub_exp_code': 'int',
835 'plot_pos': 'int',
836 }
837
838
839 SpectraHeisWriter
840 parameters = {
841 : 'string',
842 }
843
844
845 SpectraPlot
846 parameters = {
847 'id': 'string',
848 'wintitle': 'string',
849 'channelList': 'string',
850 'showprofile': 'string',
851 'xmin': 'float',
852 'xmax': 'float',
853 'ymin': 'float',
854 'ymax': 'float',
855 'zmin': 'float',
856 'zmax': 'float',
857 'save': 'boolean',
858 'figpath': 'string',
859 'figfile': 'string',
860 'show': 'string',
861 'ftp': 'string',
862 'wr_period': 'int',
863 'server': 'string',
864 'folder': 'string',
865 'username': 'string',
866 'password': 'string',
867 'ftp_wei': 'string',
868 'exp_code': 'int',
869 'sub_exp_code': 'int',
870 'plot_pos': 'int',
871 'realtime': 'string',
872 'xaxis': 'string',
873 }
874
875
876 SpectraWriter
877 parameters = {
878 'path': 'string',
879 'blocksPerFile': 'string',
880 'profilesPerBlock': 'string',
881 'set': 'string',
882 'ext': 'string',
883 'datatype': 'string',
884 }
885
886
887 SpectralFitting
888 parameters = {
889 'getSNR': 'string',
890 'path': 'string',
891 'file': 'string',
892 'groupList': 'string',
893 }
894
895
896 SpectralFittingPlot
897 parameters = {
898 'id': 'string',
899 'cutHeight': 'string',
900 'fit': 'string',
901 'wintitle': 'string',
902 'channelList': 'string',
903 'showprofile': 'string',
904 'xmin': 'float',
905 'xmax': 'float',
906 'ymin': 'float',
907 'ymax': 'float',
908 'save': 'boolean',
909 'figpath': 'string',
910 'figfile': 'string',
911 'show': 'string',
912 }
913
914
915 SpectralMoments
916 parameters = {
917 : 'string',
918 }
919
920
921 SplitProfiles
922 parameters = {
923 'n': 'string',
924 }
925
926
927 USRPWriter
928 parameters = {
929 'dataIn': 'string',
930 }
931
932
933 VoltageWriter
934 parameters = {
935 'path': 'string',
936 'blocksPerFile': 'string',
937 'profilesPerBlock': 'string',
938 'set': 'string',
939 'ext': 'string',
940 'datatype': 'string',
941 }
942
943
944 WindProfiler
945 parameters = {
946 'technique': 'string',
947 }
948
949
950 WindProfilerPlot
951 parameters = {
952 'id': 'string',
953 'wintitle': 'string',
954 'channelList': 'string',
955 'showprofile': 'string',
956 'xmin': 'float',
957 'xmax': 'float',
958 'ymin': 'float',
959 'ymax': 'float',
960 'zmin': 'float',
961 'zmax': 'float',
962 'zmax_ver': 'string',
963 'zmin_ver': 'string',
964 'SNRmin': 'string',
965 'SNRmax': 'string',
966 'timerange': 'string',
967 'SNRthresh': 'string',
968 'save': 'boolean',
969 'figpath': 'string',
970 'lastone': 'string',
971 'figfile': 'string',
972 'ftp': 'string',
973 'wr_period': 'int',
974 'show': 'string',
975 'server': 'string',
976 'folder': 'string',
977 'username': 'string',
978 'password': 'string',
979 'ftp_wei': 'string',
980 'exp_code': 'int',
981 'sub_exp_code': 'int',
982 'plot_pos': 'int',
983 }
984
985
986 Writer
987 parameters = {
988 'dataIn': 'string',
989 }
990
991
992 AMISRProc
993 parameters = {
994 : 'string',
995 }
996
997
998 AMISRReader
999 parameters = {
1000 : 'string',
1001 }
1002
1003
1004 CorrelationProc
1005 parameters = {
1006 'lags': 'string',
1007 'mode': 'string',
1008 'pairsList': 'pairsLists',
1009 'fullBuffer': 'string',
1010 'nAvg': 'string',
1011 'removeDC': 'string',
1012 'splitCF': 'string',
1013 }
1014
1015
1016 FitsReader
1017 parameters = {
1018 : 'string',
1019 }
1020
1021
1022 HFReader
1023 parameters = {
1024 : 'string',
1025 }
1026
1027
1028 ParamReader
1029 parameters = {
1030 : 'string',
1031 }
1032
1033
1034 ParametersProc
1035 parameters = {
1036 : 'string',
1037 }
1038
1039
1040 ProcessingUnit
1041 parameters = {
1042 : 'string',
1043 }
1044
1045
1046 ReceiverData
1047 parameters = {
1048 : 'string',
1049 }
1050
1051
1052 SendToServer
1053 parameters = {
1054 : 'string',
1055 }
1056
1057
1058 SpectraAFCProc
1059 parameters = {
1060 'nProfiles': 'string',
1061 'nFFTPoints': 'string',
1062 'pairsList': 'pairsLists',
1063 'code': 'string',
1064 'nCode': 'string',
1065 'nBaud': 'string',
1066 }
1067
1068
1069 SpectraHeisProc
1070 parameters = {
1071 : 'string',
1072 }
1073
1074
1075 SpectraLagsProc
1076 parameters = {
1077 'nProfiles': 'string',
1078 'nFFTPoints': 'string',
1079 'pairsList': 'pairsLists',
1080 'code': 'string',
1081 'nCode': 'string',
1082 'nBaud': 'string',
1083 'codeFromHeader': 'string',
1084 'pulseIndex': 'string',
1085 }
1086
1087
1088 SpectraProc
1089 parameters = {
1090 'nProfiles': 'string',
1091 'nFFTPoints': 'string',
1092 'pairsList': 'pairsLists',
1093 'ippFactor': 'string',
1094 }
1095
1096
1097 SpectraReader
1098 parameters = {
1099 'path': 'string',
1100 'startDate': 'string',
1101 'endDate': 'string',
1102 'startTime': 'string',
1103 'endTime': 'string',
1104 'set': 'string',
1105 'expLabel': 'string',
1106 'ext': 'string',
1107 'online': 'string',
1108 'delay': 'string',
1109 'walk': 'string',
1110 'getblock': 'string',
1111 'nTxs': 'string',
1112 'realtime': 'string',
1113 'blocksize': 'string',
1114 'blocktime': 'string',
1115 'queue': 'string',
1116 'skip': 'string',
1117 'cursor': 'string',
1118 'warnings': 'string',
1119 'verbose': 'string',
1120 }
1121
1122
1123 USRPReader
1124 parameters = {
1125 : 'string',
1126 }
1127
1128
1129 VoltageProc
1130 parameters = {
1131 : 'string',
1132 }
1133
1134
1135 VoltageReader
1136 parameters = {
1137 'path': 'string',
1138 'startDate': 'string',
1139 'endDate': 'string',
1140 'startTime': 'string',
1141 'endTime': 'string',
1142 'set': 'string',
1143 'expLabel': 'string',
1144 'ext': 'string',
1145 'online': 'string',
1146 'delay': 'string',
1147 'walk': 'string',
1148 'getblock': 'string',
1149 'nTxs': 'string',
1150 'realtime': 'string',
1151 'blocksize': 'string',
1152 'blocktime': 'string',
1153 'queue': 'string',
1154 'skip': 'string',
1155 'cursor': 'string',
1156 'warnings': 'string',
1157 'verbose': 'string',
1158 }
1159
1160
@@ -0,0 +1,81
1 import schainpy
2 from schainpy.model import Operation, ProcessingUnit
3 from importlib import import_module
4 from pydoc import locate
5
6 def clean_modules(module):
7 noEndsUnder = [x for x in module if not x.endswith('__')]
8 noStartUnder = [x for x in noEndsUnder if not x.startswith('__')]
9 noFullUpper = [x for x in noStartUnder if not x.isupper()]
10 return noFullUpper
11
12 def check_module(possible, instance):
13 def check(x):
14 try:
15 instancia = locate('schainpy.model.{}'.format(x))
16 return isinstance(instancia(), instance)
17 except Exception as e:
18 return False
19 clean = clean_modules(possible)
20 return [x for x in clean if check(x)]
21
22
23 def getProcs():
24 module = dir(import_module('schainpy.model'))
25 procs = check_module(module, ProcessingUnit)
26 try:
27 procs.remove('ProcessingUnit')
28 except Exception as e:
29 pass
30 return procs
31
32 def getOperations():
33 module = dir(import_module('schainpy.model'))
34 noProcs = [x for x in module if not x.endswith('Proc')]
35 operations = check_module(noProcs, Operation)
36 try:
37 operations.remove('Operation')
38 except Exception as e:
39 pass
40 return operations
41
42 def getArgs(op):
43 module = locate('schainpy.model.{}'.format(op))
44 args = module().getAllowedArgs()
45 try:
46 args.remove('self')
47 except Exception as e:
48 pass
49 try:
50 args.remove('dataOut')
51 except Exception as e:
52 pass
53 return args
54
55 def getAll():
56 allModules = dir(import_module('schainpy.model'))
57 modules = check_module(allModules, Operation)
58 modules.extend(check_module(allModules, ProcessingUnit))
59 return modules
60
61 def formatArgs(op):
62 args = getArgs(op)
63
64 argsAsKey = ["\t'{}'".format(x) for x in args]
65 argsFormatted = ": 'string',\n".join(argsAsKey)
66
67 print op
68 print "parameters = { \n" + argsFormatted + ": 'string',\n }"
69 print '\n'
70
71
72 if __name__ == "__main__":
73 getAll()
74 [formatArgs(x) for x in getAll()]
75
76 '''
77 parameters = {
78 'id': ,
79 'wintitle': ,
80 }
81 ''' No newline at end of file
@@ -0,0 +1,1
1 You should install "digital_rf_hdf5" module if you want to read USRP data
@@ -14,6 +14,7 from schainpy.utils import log
14 from importlib import import_module
14 from importlib import import_module
15 from pydoc import locate
15 from pydoc import locate
16 from fuzzywuzzy import process
16 from fuzzywuzzy import process
17 from schainpy.utils import paramsFinder
17 sys.stdout = save_stdout
18 sys.stdout = save_stdout
18
19
19
20
@@ -75,47 +76,25 def search(nextcommand):
75 if nextcommand is None:
76 if nextcommand is None:
76 log.error('There is no Operation/ProcessingUnit to search')
77 log.error('There is no Operation/ProcessingUnit to search')
77 elif nextcommand == 'procs':
78 elif nextcommand == 'procs':
78 module = dir(import_module('schainpy.model'))
79 procs = paramsFinder.getProcs()
79 procs = check_module(module, ProcessingUnit)
80 try:
81 procs.remove('ProcessingUnit')
82 except Exception as e:
83 pass
84 log.success('Current ProcessingUnits are:\n\033[1m{}\033[0m'.format('\n'.join(procs)))
80 log.success('Current ProcessingUnits are:\n\033[1m{}\033[0m'.format('\n'.join(procs)))
85
81
86 elif nextcommand == 'operations':
82 elif nextcommand == 'operations':
87 module = dir(import_module('schainpy.model'))
83 operations = paramsFinder.getOperations()
88 noProcs = [x for x in module if not x.endswith('Proc')]
89 operations = check_module(noProcs, Operation)
90 try:
91 operations.remove('Operation')
92 except Exception as e:
93 pass
94 log.success('Current Operations are:\n\033[1m{}\033[0m'.format('\n'.join(operations)))
84 log.success('Current Operations are:\n\033[1m{}\033[0m'.format('\n'.join(operations)))
95 else:
85 else:
96 try:
86 try:
97 module = locate('schainpy.model.{}'.format(nextcommand))
87 args = paramsFinder.getArgs(nextcommand)
98 args = module().getAllowedArgs()
99 log.warning('Use this feature with caution. It may not return all the allowed arguments')
88 log.warning('Use this feature with caution. It may not return all the allowed arguments')
100 try:
101 args.remove('self')
102 except Exception as e:
103 pass
104 try:
105 args.remove('dataOut')
106 except Exception as e:
107 pass
108 if len(args) == 0:
89 if len(args) == 0:
109 log.success('{} has no arguments'.format(nextcommand))
90 log.success('{} has no arguments'.format(nextcommand))
110 else:
91 else:
111 log.success('Showing arguments of {} are:\n\033[1m{}\033[0m'.format(nextcommand, '\n'.join(args)))
92 log.success('Showing arguments of {} are:\n\033[1m{}\033[0m'.format(nextcommand, '\n'.join(args)))
112 except Exception as e:
93 except Exception as e:
113 log.error('Module {} does not exists'.format(nextcommand))
94 log.error('Module {} does not exists'.format(nextcommand))
114 allModules = dir(import_module('schainpy.model'))
95 allModules = paramsFinder.getAll()
115 module = check_module(allModules, Operation)
96 similar = process.extractOne(nextcommand, allModules)[0]
116 module.extend(check_module(allModules, ProcessingUnit))
97 log.success('Showing {} instead'.format(similar))
117 similar = process.extractOne(nextcommand, module)[0]
118 log.success('Searching {} instead'.format(similar))
119 search(similar)
98 search(similar)
120
99
121
100
@@ -10,6 +10,7 import numpy
10 from figure import Figure, isRealtime, isTimeInHourRange
10 from figure import Figure, isRealtime, isTimeInHourRange
11 from plotting_codes import *
11 from plotting_codes import *
12
12
13
13 class SpectraPlot(Figure):
14 class SpectraPlot(Figure):
14
15
15 isConfig = None
16 isConfig = None
@@ -652,6 +653,38 class CoherenceMap(Figure):
652 HEIGHTPROF = None
653 HEIGHTPROF = None
653 PREFIX = 'cmap'
654 PREFIX = 'cmap'
654
655
656 parameters = {
657 'id': 'string',
658 'wintitle': 'string',
659 'pairsList': 'pairsLists',
660 'showprofile': 'boolean',
661 'xmin': 'float',
662 'xmax': 'float',
663 'ymin': 'float',
664 'ymax': 'float',
665 'zmin': 'float',
666 'zmax': 'float',
667 'timerange': 'float',
668 'phase_min': 'float',
669 'phase_max': 'float',
670 'save': 'boolean',
671 'figpath': 'string',
672 'figfile': 'string',
673 'ftp': 'boolean',
674 'wr_period': 'int',
675 'coherence_cmap': 'colormap',
676 'phase_cmap': 'colormap',
677 'show': 'boolean',
678 'server': 'string',
679 'folder': 'string',
680 'username': 'string',
681 'password': 'string',
682 'ftp_wei': 'int',
683 'exp_code': 'int',
684 'sub_exp_code': 'int',
685 'plot_pos': 'int',
686 }
687
655 def __init__(self, **kwargs):
688 def __init__(self, **kwargs):
656 Figure.__init__(self, **kwargs)
689 Figure.__init__(self, **kwargs)
657 self.timerange = 2*60*60
690 self.timerange = 2*60*60
@@ -1310,6 +1343,34 class BeaconPhase(Figure):
1310 __nsubplots = None
1343 __nsubplots = None
1311
1344
1312 PREFIX = 'beacon_phase'
1345 PREFIX = 'beacon_phase'
1346
1347 parameters = {
1348 'id': 'string',
1349 'wintitle': 'string',
1350 'pairsList': 'pairsList',
1351 'showprofile': 'boolean',
1352 'xmin': 'float',
1353 'xmax': 'float',
1354 'ymin': 'float',
1355 'ymax': 'float',
1356 'hmin': 'float',
1357 'hmax': 'float',
1358 'timerange': 'float',
1359 'save': 'boolean',
1360 'figpath': 'string',
1361 'figfile': 'string',
1362 'show': 'boolean',
1363 'ftp': 'string',
1364 'wr_period': 'int',
1365 'server': 'string',
1366 'folder': 'string',
1367 'username': 'string',
1368 'password': 'string',
1369 'ftp_wei': 'int',
1370 'exp_code': 'int',
1371 'sub_exp_code': 'int',
1372 'plot_pos': 'int',
1373 }
1313
1374
1314 def __init__(self, **kwargs):
1375 def __init__(self, **kwargs):
1315 Figure.__init__(self, **kwargs)
1376 Figure.__init__(self, **kwargs)
@@ -41,6 +41,9 class PrintInfo(Operation):
41 class BeamSelector(Operation):
41 class BeamSelector(Operation):
42 profileIndex = None
42 profileIndex = None
43 nProfiles = None
43 nProfiles = None
44 parameters = {
45 'beam': 'string',
46 }
44
47
45 def __init__(self):
48 def __init__(self):
46
49
@@ -332,6 +332,12 class CohInt(Operation):
332
332
333 n = None
333 n = None
334
334
335 parameters = {
336 'n': 'int',
337 'timeInterval':'float',
338 'overlapping': 'boolean',
339 'byblock': 'boolean'
340 }
335
341
336 def __init__(self, **kwargs):
342 def __init__(self, **kwargs):
337
343
@@ -345,10 +351,9 class CohInt(Operation):
345
351
346 Inputs:
352 Inputs:
347
353
348 n : Number of coherent integrations
354 n : Number of coherent integrations
349 timeInterval : Time of integration. If the parameter "n" is selected this one does not work
355 timeInterval : Time of integration. If the parameter "n" is selected this one does not work
350 overlapping :
356 overlapping :
351
352 """
357 """
353
358
354 self.__initime = None
359 self.__initime = None
@@ -513,10 +518,10 class CohInt(Operation):
513 self.__dataReady = True
518 self.__dataReady = True
514 return avgdata, avgdatatime
519 return avgdata, avgdatatime
515
520
516 def run(self, dataOut, **kwargs):
521 def run(self, dataOut, n=None, timeInterval=None, overlapping=False, byblock=False):
517
522
518 if not self.isConfig:
523 if not self.isConfig:
519 self.setup(**kwargs)
524 self.setup(n=n, timeInterval=timeInterval, overlapping=overlapping, byblock=byblock)
520 self.isConfig = True
525 self.isConfig = True
521
526
522 if dataOut.flagDataAsBlock:
527 if dataOut.flagDataAsBlock:
@@ -1085,7 +1090,9 class SplitProfiles(Operation):
1085 dataOut.ippSeconds /= n
1090 dataOut.ippSeconds /= n
1086
1091
1087 class CombineProfiles(Operation):
1092 class CombineProfiles(Operation):
1088
1093 parameters = {
1094 'n': 'int',
1095 }
1089 def __init__(self, **kwargs):
1096 def __init__(self, **kwargs):
1090
1097
1091 Operation.__init__(self, **kwargs)
1098 Operation.__init__(self, **kwargs)
@@ -35,14 +35,11 def fiber(cursor, skip, q, dt):
35 # opObj11 = procUnitConfObj3.addOperation(name='SpectralMoments', optype='other')
35 # opObj11 = procUnitConfObj3.addOperation(name='SpectralMoments', optype='other')
36
36
37 #
37 #
38 # opObj11 = procUnitConfObj1.addOperation(name='SpectraPlot', optype='other')
38 opObj11 = procUnitConfObj2.addOperation(name='RTIPlot', optype='other')
39 # opObj11.addParameter(name='id', value='1000', format='int')
39 opObj11.addParameter(name='id', value='1000', format='int')
40 # opObj11.addParameter(name='wintitle', value='HF_Jicamarca_Spc', format='str')
40 opObj11.addParameter(name='wintitle', value='HF_Jicamarca_Spc', format='str')
41 # opObj11.addParameter(name='channelList', value='0', format='intlist')
41 opObj11.addParameter(name='xmin', value='0', format='int')
42 # opObj11.addParameter(name='zmin', value='-120', format='float')
42 opObj11.addParameter(name='xmax', value='24', format='int')
43 # opObj11.addParameter(name='zmax', value='-70', format='float')
44 # opObj11.addParameter(name='save', value='1', format='int')
45 # opObj11.addParameter(name='figpath', value=figpath, format='str')
46
43
47 # opObj11 = procUnitConfObj3.addOperation(name='Parameters1Plot', optype='other')
44 # opObj11 = procUnitConfObj3.addOperation(name='Parameters1Plot', optype='other')
48 # opObj11.addParameter(name='channelList', value='0', format='intList')
45 # opObj11.addParameter(name='channelList', value='0', format='intList')
@@ -67,8 +64,8 def fiber(cursor, skip, q, dt):
67 # opObj11.addParameter(name='save', value='0', format='int')
64 # opObj11.addParameter(name='save', value='0', format='int')
68 # # opObj11.addParameter(name='figpath', value='/tmp/', format='str')
65 # # opObj11.addParameter(name='figpath', value='/tmp/', format='str')
69 #
66 #
70 opObj12 = procUnitConfObj2.addOperation(name='PublishData', optype='other')
67 # opObj12 = procUnitConfObj2.addOperation(name='PublishData', optype='other')
71 opObj12.addParameter(name='zeromq', value=1, format='int')
68 # opObj12.addParameter(name='zeromq', value=1, format='int')
72 # opObj12.addParameter(name='server', value='tcp://10.10.10.82:7000', format='str')
69 # opObj12.addParameter(name='server', value='tcp://10.10.10.82:7000', format='str')
73
70
74
71
General Comments 0
You need to be logged in to leave comments. Login now