### ForMask
MASK_F_MODE=4
-MASK_VALUE=0.0125
+MASK_VALUE=0.05
# MaskSize
MASK_SIZE_X=256
# FNC Graph Image
X_SIZE_GRAPH=360
Y_SIZE_GRAPH=240
-S_DATA=1
-E_DATA=1
+S_DATA=5
+E_DATA=2
#### Rules of the list created ####
# Defined at Sub
make InputMaskImage;
Exe::
- make FNC;
+ make $(FILE_NAME).$(FNC);
all::
make Initial;
make Final;
Final::
+ make FNCInputProjection;
make FNCGnudata;
make FNCGnuplot;
##### Commands(Input to Output) #####
# Defined at Sub
+ifdef MASK
+ifdef FNC
.$(MASK).$(FNC):
- mrcImageFourierNeighborCorrelation -i $*.$(INI)pad -o $*.$(FNC) -d 0.025 \
+ mrcImageFourierNeighborCorrelation -i $*.$(INI)pad -o $*.$(FNC) \
-FSC -mask $*.$(MASK) -maskBack $*.$(MASKBACK) \
-NoiseWeighted -100 -FSCfull -Cref;
+endif #FNC
+endif #MASK
-include ${EOS_HOME}/tutorial/TIPS/BackImage/Makefile/Makefile-lib
-include ${EOS_HOME}/tutorial/TIPS/ASCII/Makefile/Makefile-lib
-include ${EOS_HOME}/tutorial/TIPS/Gnuplot/Makefile/Makefile-lib
+-include ${EOS_HOME}/tutorial/TIPS/Projection3DImage/Makefile/Makefile-lib
#### Definition ####
# Defined at Main
export BACK=$(MASKBACK); \
make IniBackImage; \
make BackImage;
-
-FNC::
- make $(FILE_NAME).$(FNC);
-
+
+FNCInputProjection::
+ export PRJ_FILE_NAME=$(FILE_NAME); \
+ for ext in $(INI)pad $(MASK) $(MASKBACK) ; \
+ do \
+ export IN_PRJ=$$ext; \
+ export PRJ=$$ext'2d'; \
+ export OUT_PRJ=$$ext'.tiff'; \
+ make Projection3DImage; \
+ done;
+
FNCGnudata::
export IN_ASCII_FILE_NAME=$(FILE_NAME); \
export IN_ASCII=$(FNC); \
export IN_ASCII=cut; \
export OUT_ASCII_FILE_NAME=$(FILE_NAME); \
export OUT_ASCII=FNC; \
+ echo $$OUT_ASCII; \
export ASCII_CLMN="1 2"; \
make ExtractColumn; \
num=4; \
OUT_ASCII=$$(head -1 $(FILE_NAME).cut | awk -v v=$$num '{printf("%s", $$v)}'); \
while [ ! -z "$$OUT_ASCII" ] ; \
do \
+ echo $$OUT_ASCII; \
export ASCII_CLMN="1 `expr $$num + 1`"; \
make ExtractColumn; \
num=`expr $$num + 2`; \
export GNU_X_SIZE=$(X_SIZE_GRAPH); \
export GNU_Y_SIZE=$(Y_SIZE_GRAPH); \
data=FNC; \
+ echo $$data; \
export IN_GNU=$$data; \
export OUT_GNU_FILE_NAME="$(FILE_NAME)-$$data"; \
export VIEW_GNU_FILE_NAME=$$data; \
data=$$(head -1 $(FILE_NAME).cut | awk -v v=$$num '{printf("%s", $$v)}'); \
while [ ! -z "$$data" ] ; \
do \
+ echo $$data; \
export IN_GNU=$$data; \
export OUT_GNU_FILE_NAME="$(FILE_NAME)-$$data"; \
export VIEW_GNU_FILE_NAME="$$data"; \
done;
##### Commands(Input to Output) #####
+ifdef INI
.$(INI).$(INI)info:
mrcInfo -i $*.$(INI) | head -5 > $*.$(INI)info;
+endif #INI
mrc2tiff -i $(FILE_NAME).$(GRID) -o $(FILE_NAME).$(TIFF);
##### Commands(Input to Output) #####
+ifdef NUL
+ifdef ONE
.$(NUL).$(ONE):
mrcImageScalarAdd -i $*.$(NUL) -o $*.$(ONE) -m 1 -v $(POINT_VALUE) \
-x $(POINT_X) -y $(POINT_Y) -z $(POINT_Z);
+endif #ONE
+endif #NUL
+ifdef ONE
+ifdef GRID
.$(ONE).$(GRID):
mrcImageCrystalCreate -i $*.$(ONE) -o $*.$(GRID) \
-nx $(NUM_X) -ny $(NUM_Y) -nz $(NUM_Z);
+endif #GRID
+endif #ONE