OSDN Git Service

Add: TIPS of Debugger for SmallTools.(Open or Rebuild of Tools or Objects)
[eos/tutorial.git] / Small Tools / mrcImage / mrcImageFourierNeighborCorrelation / Makefile / Makefile
1 #
2 #       This is Main Makefile for mrcImageFourierNeighborCorrelation.
3 #
4
5 #### Root Makefile ####
6 MAKE_ROOT=mrcImageFourierNeighborCorrelation
7 TOOLS_CLASS=mrcImage
8 TOOLS_COMMAND=$(MAKE_ROOT)
9 OBJECTS_GROUP=DataManip
10 OBJECTS_CLASS=mrcImage
11 OBJECTS_COMMAND=l$(MAKE_ROOT)
12
13 #### Input extention ####
14 INI=mrc
15 MASK=mask
16 MASKBACK=maskback
17 FNC=txt
18
19 #### Suffixes rule ####
20 # Defined at Sub
21
22 #### INCLUDE ####
23 # Help-include-file must always be put on top.
24 -include ${EOS_HOME}/tutorial/TIPS/Help/Makefile/Makefile-lib
25 -include ${EOS_HOME}/tutorial/TIPS/Debugger/Makefile/Makefile-lib
26 -include Makefile-lib
27
28 #### Definition ####
29 # Path of Input File
30 INPUT_PATH=${EOS_HOME}/tutorial/SampleData/1VOM-N.mrc
31
32 ### FileData
33 FILE_NAME=Input
34
35 ### ForMask
36 MASK_F_MODE=4
37 MASK_VALUE=0.0125
38
39 # MaskSize
40 MASK_SIZE_X=256
41 MASK_SIZE_Y=256
42 MASK_SIZE_Z=256
43
44 # FNC Graph Image
45 X_SIZE_GRAPH=360
46 Y_SIZE_GRAPH=240
47 S_DATA=11
48 E_DATA=11
49
50 #### Rules of the list created ####
51 # Defined at Sub
52
53 ##### Commands #####
54 # Defined at Sub basically
55 Initial::
56         make InitialData;
57         make InputInfo;
58         make MaskBackImage;
59         make InputBackImage;
60         make InputMaskImage;
61
62 Exe::
63         make FNC;
64
65 all::
66         make Initial;
67         make Exe;
68         make Final;
69
70 Final::
71         make FNCGnudata;
72         make FNCGnuplot;
73
74 help_mrcImageFourierNeighborCorrelation::
75         @echo
76         @echo "Makefile for mrcImageFourierNeighborCorrelation"
77         @echo "This is Main Makefile for mrcImageFourierNeighborCorrelation."
78         @echo
79         @echo " (Command):"
80         @echo "         Initial:                Create Initial File for execution."
81         @echo "                 (Setting Data):"
82         @echo "                 INI:            input extention for Initial"
83         @echo "                 INIpad:         for -i"
84         @echo "                 MASK:           for -mask"
85         @echo "                 MASKBACK:       for -maskBack"
86         @echo "         FNC:                    Sample of execution."
87         @echo "         Final:                  Create graph images for output file."
88         @echo
89         @echo " (Setting Data):"
90         @echo "         FILE_NAME:              filename of input and output"
91         @echo "         MASK_SIZE_X:            size x of covering whole image"
92         @echo "         MASK_SIZE_Y:            size y of covering whole image"
93         @echo "         MASK_SIZE_Z:            size z of covering whole image"
94         @echo "         MASK_VALUE:             value of outer image"
95         @echo "         MASK_F_MODE:            low pass filter mode for mask"
96
97 ##### Commands(Input to Output) #####
98 # Defined at Sub
99 .$(MASK).$(FNC):
100         mrcImageFourierNeighborCorrelation -i $*.$(INI)pad -o $*.$(FNC) \
101                                                                                 -FSC -mask $*.$(MASK) -maskBack $*.$(MASKBACK) \
102                                                                                 -NoiseWeighted 10 -FSCfull -Cref;