• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revision1fe9ec5dee16e2503fd2f7112feb4b596df669bf (tree)
Time2014-10-22 10:57:22
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Modify: Support the graph for all option.
modified: Small Tools/mrcImage/mrcImageFourierNeighborCorrelation/Makefile/Makefile-lib

Change Summary

Incremental Difference

--- a/Small Tools/mrcImage/mrcImageFourierNeighborCorrelation/Makefile/Makefile-lib
+++ b/Small Tools/mrcImage/mrcImageFourierNeighborCorrelation/Makefile/Makefile-lib
@@ -73,30 +73,36 @@ FNCGnudata::
7373 export OUT_ASCII=FNC; \
7474 export ASCII_CLMN="1 2"; \
7575 make ExtractColumn; \
76- export OUT_ASCII=FSC; \
77- export ASCII_CLMN="1 5"; \
78- make ExtractColumn; \
79- export OUT_ASCII=SNR; \
80- export ASCII_CLMN="1 7"; \
81- make ExtractColumn; \
82- export OUT_ASCII=FNCF; \
83- export ASCII_CLMN="1 9"; \
84- make ExtractColumn; \
85- export OUT_ASCII=FNCN; \
86- export ASCII_CLMN="1 11"; \
87- make ExtractColumn;
76+ num=4; \
77+ OUT_ASCII=$$(head -1 $(FILE_NAME).cut | awk -v v=$$num '{printf("%s", $$v)}'); \
78+ while [ ! -z "$$OUT_ASCII" ] ; \
79+ do \
80+ export ASCII_CLMN="1 `expr $$num + 1`"; \
81+ make ExtractColumn; \
82+ num=`expr $$num + 2`; \
83+ OUT_ASCII=$$(head -1 $(FILE_NAME).cut | awk -v v=$$num '{printf("%s", $$v)}'); \
84+ done;
8885
8986 FNCGnuplot::
9087 export IN_GNU_FILE_NAME=$(FILE_NAME); \
9188 export OUT_GNU=png; \
9289 export GNU_X_SIZE=$(X_SIZE_GRAPH); \
9390 export GNU_Y_SIZE=$(Y_SIZE_GRAPH); \
94- for data in FNC FSC SNR FNCF FNCN ; \
91+ data=FNC; \
92+ export IN_GNU=$$data; \
93+ export OUT_GNU_FILE_NAME="$(FILE_NAME)-$$data"; \
94+ export VIEW_FILE_NAME=$$data; \
95+ make gnuplot2D; \
96+ num=4; \
97+ data=$$(head -1 $(FILE_NAME).cut | awk -v v=$$num '{printf("%s", $$v)}'); \
98+ while [ ! -z "$$data" ] ; \
9599 do \
96100 export IN_GNU=$$data; \
97101 export OUT_GNU_FILE_NAME="$(FILE_NAME)-$$data"; \
98102 export VIEW_FILE_NAME=$$data; \
99103 make gnuplot2D; \
104+ num=`expr $$num + 2`; \
105+ data=$$(head -1 $(FILE_NAME).cut | awk -v v=$$num '{printf("%s", $$v)}'); \
100106 done;
101107
102108 ##### Commands(Input to Output) #####
Show on old repository browser