• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revision8574ad6011e88f02dcf3ea9a8ff50f7c619c0e65 (tree)
Time2014-10-15 12:02:51
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: TIPS Data for Mask and MaskBack of mrcImageFourierNeighborCorrelation
new file: TIPS/BackData/Makefile
new file: TIPS/BackData/Makefile.config
new file: TIPS/BinShape/Makefile
new file: TIPS/BinShape/Makefile.config
modified: TIPS/CreateGridImage/Makefile.config
new file: TIPS/NulImage/Makefile
new file: TIPS/NulImage/Makefile.config

Change Summary

Incremental Difference

--- /dev/null
+++ b/TIPS/BackData/Makefile
@@ -0,0 +1,41 @@
1+#
2+# This is Main Makefile for Add Background to Image.
3+#
4+
5+#### Input extention ####
6+NUL=nul
7+IN_BACK=inimrc
8+BACK=back
9+
10+#### Suffixes rule ####
11+# Defined at Sub
12+
13+#### INCLUDE ####
14+-include Makefile.config
15+
16+#### Definition ####
17+### FileData
18+BACK_FILE_NAME=BinImage
19+# ImageSize
20+BACK_IN_SIZE_X=64
21+BACK_IN_SIZE_Y=64
22+BACK_IN_SIZE_Z=64
23+BACK_IN_VALUE=1
24+BACK_SIZE_X=256
25+BACK_SIZE_Y=256
26+BACK_SIZE_Z=256
27+BACK_VALUE=0
28+# Angstrom per 1 pixel
29+BACK_LENGTH=1
30+
31+#### Rules of the list created ####
32+# Defined at Sub
33+
34+##### Commands #####
35+# Defined at Sub basically
36+all::
37+ make IniBackImage;
38+ make BackImage;
39+
40+##### Commands(Input to Output) #####
41+# Defined at Sub
--- /dev/null
+++ b/TIPS/BackData/Makefile.config
@@ -0,0 +1,43 @@
1+#
2+# This is Sub Makefile for Add Background to Image.
3+#
4+
5+#### Input extention ####
6+# Defined at Main
7+
8+#### Suffixes rule ####
9+.SUFFIXES: .$(NUL) .$(IN_BACK) .$(BACK)
10+
11+#### INCLUDE ####
12+-include ../NulImage/Makefile.config
13+
14+#### Definition ####
15+# Defined at Main
16+
17+# For ../NulImage/Makefile.config
18+NUL_FILE_NAME=$(BACK_FILE_NAME)
19+NUL_SIZE_X=$(BACK_IN_SIZE_X)
20+NUL_SIZE_Y=$(BACK_IN_SIZE_Y)
21+NUL_SIZE_Z=$(BACK_IN_SIZE_Z)
22+NUL_VALUE=$(BACK_IN_VALUE)
23+NUL_LENGTH=$(BACK_LENGTH)
24+
25+
26+#### Rules of the list created ####
27+
28+
29+##### Commands #####
30+IniBackImage::
31+ make NulImage;
32+
33+BackImage::
34+ make $(BACK_FILE_NAME).$(BACK);
35+
36+
37+##### Commands(Input to Output) #####
38+.$(NUL).$(IN_BACK):
39+ ln -s $*.$(NUL) $*.$(IN_BACK);
40+
41+.$(IN_BACK).$(BACK):
42+ mrcImage3DPad -i $*.$(IN_BACK) -o $*.$(BACK) -M 1 -v $(BACK_VALUE) \
43+ -Nx $(BACK_SIZE_X) -Ny $(BACK_SIZE_Y) -Nz $(BACK_SIZE_Z);
--- /dev/null
+++ b/TIPS/BinShape/Makefile
@@ -0,0 +1,32 @@
1+#
2+# This is Main Makefile for Create Bin Image that has same shape as Input.
3+#
4+
5+#### Input extention ####
6+IN_SBIN=inimrc
7+SBIN=sbin
8+
9+#### Suffixes rule ####
10+# Defined at Sub
11+
12+#### INCLUDE ####
13+-include Makefile.config
14+
15+#### Definition ####
16+### FileData
17+SBIN_FILE_NAME=Input
18+# ImageSize
19+SBIN_F_MODE=4
20+SBIN_VALUE=0.0125
21+
22+
23+#### Rules of the list created ####
24+# Defined at Sub
25+
26+##### Commands #####
27+# Defined at Sub basically
28+all::
29+ make ShapeBinImage
30+
31+##### Commands(Input to Output) #####
32+# Defined at Sub
--- /dev/null
+++ b/TIPS/BinShape/Makefile.config
@@ -0,0 +1,28 @@
1+#
2+# This is Sub Makefile for Create Bin Image that has same shape as Input.
3+#
4+
5+#### Input extention ####
6+# Defined at Main
7+
8+#### Suffixes rule ####
9+.SUFFIXES: .$(IN_SBIN) .$(SBIN)
10+
11+#### INCLUDE ####
12+
13+#### Definition ####
14+# Defined at Main
15+
16+
17+#### Rules of the list created ####
18+
19+
20+##### Commands #####
21+ShapeBinImage::
22+ make $(SBIN_FILE_NAME).$(SBIN);
23+
24+
25+##### Commands(Input to Output) #####
26+.$(IN_SBIN).$(SBIN):
27+ mrcImageLowPassFilter -i $*.$(IN_SBIN) -o $*.$(SBIN)tmp -m $(SBIN_F_MODE) -hvp $(SBIN_VALUE);
28+ mrcImageBinalization -i $*.$(SBIN)tmp -o $*.$(SBIN) -m 32;
--- a/TIPS/CreateGridImage/Makefile.config
+++ b/TIPS/CreateGridImage/Makefile.config
@@ -9,18 +9,23 @@
99 .SUFFIXES: .$(NUL) .$(ONE) .$(GRID)
1010
1111 #### INCLUDE ####
12+-include ../NulImage/Makefile.config
1213
1314 #### Definition ####
1415 # Defined at Main
1516
17+# For ../NulImage/Makefile.config
18+NUL_FILE_NAME=$(FILE_NAME)
19+NUL_SIZE_X=$(1SIZE_X)
20+NUL_SIZE_Y=$(1SIZE_Y)
21+NUL_SIZE_Z=$(1SIZE_Z)
22+NUL_VALUE=$(BACK_VALUE)
23+NUL_LENGTH=$(LENGTH)
24+
1625 #### Rules of the list created ####
1726
1827
1928 ##### Commands #####
20-NulImage::
21- mrcImageNullImageCreate -o $(FILE_NAME).$(NUL) \
22- -Nx $(1SIZE_X) -Ny $(1SIZE_Y) -Nz $(1SIZE_Z) \
23- -v $(BACK_VALUE) -d $(LENGTH);
2429 1PointImage::
2530 make $(FILE_NAME).$(ONE);
2631
--- /dev/null
+++ b/TIPS/NulImage/Makefile
@@ -0,0 +1,34 @@
1+#
2+# This is Main Makefile for Create Sample Null Image.
3+#
4+
5+#### Input extention ####
6+NUL=nul
7+
8+#### Suffixes rule ####
9+# Defined at Sub
10+
11+#### INCLUDE ####
12+-include Makefile.config
13+
14+#### Definition ####
15+### FileData
16+NUL_FILE_NAME=NullImage
17+# ImageSize
18+NUL_SIZE_X=10
19+NUL_SIZE_Y=10
20+NUL_SIZE_Z=1
21+NUL_VALUE=0
22+# Angstrom per 1 pixel
23+NULLENGTH=1
24+
25+#### Rules of the list created ####
26+# Defined at Sub
27+
28+##### Commands #####
29+# Defined at Sub basically
30+all::
31+ make NulImage;
32+
33+##### Commands(Input to Output) #####
34+# Defined at Sub
--- /dev/null
+++ b/TIPS/NulImage/Makefile.config
@@ -0,0 +1,24 @@
1+#
2+# This is Sub Makefile for Create Sample Null Image.
3+#
4+
5+#### Input extention ####
6+# Defined at Main
7+
8+#### Suffixes rule ####
9+
10+#### INCLUDE ####
11+
12+#### Definition ####
13+# Defined at Main
14+
15+#### Rules of the list created ####
16+
17+
18+##### Commands #####
19+NulImage::
20+ mrcImageNullImageCreate -o $(NUL_FILE_NAME).$(NUL) \
21+ -Nx $(NUL_SIZE_X) -Ny $(NUL_SIZE_Y) -Nz $(NUL_SIZE_Z) \
22+ -v $(NUL_VALUE) -d $(NUL_LENGTH);
23+
24+##### Commands(Input to Output) #####
Show on old repository browser