Test Leginon with Simulator » History » Version 22
Anchi Cheng, 04/04/2018 03:56 PM
1 | 1 | Amber Herold | h1. Test Leginon with Simulator |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | h2. Test Leginon with Simulator |
||
6 | |||
7 | |||
8 | |||
9 | TEM and CCD simulators are created automatically on the computer Leginon program started |
||
10 | at. They are convenient as a way to look around the GUI to try out buttons. The images |
||
11 | "acquired" are just random squares on background. Here we will use them to test the database |
||
12 | connection and storage disk mapping. |
||
13 | |||
14 | 20 | Anchi Cheng | h2. Configure a local instruments.cfg to be used with the simulators |
15 | 1 | Amber Herold | |
16 | 20 | Anchi Cheng | Copy pyscope/instruments.cfg.template to your home directory and rename it instruments.cfg |
17 | 1 | Amber Herold | |
18 | 20 | Anchi Cheng | |
19 | 19 | Anchi Cheng | h2. Start Leginon on the computer you will run the process |
20 | 1 | Amber Herold | |
21 | |||
22 | |||
23 | 15 | Amber Herold | # Register as a Leginon user and then copy and personalize your configuration file before your first use. |
24 | 18 | Anchi Cheng | ** Leginon guru: See [[Recommandation_for_setup_at_a_new_institute|Recommendation for setup at a new institute]] |
25 | 17 | Anchi Cheng | ** Regular Users: Refer to [[Set up for a new regular user|Set up for a new regular user]] in "Administration Tools" Chapter. |
26 | 15 | Amber Herold | |
27 | # start-leginon.py (From any directory for Linux) |
||
28 | |
||
29 | 14 | Amber Herold | OR |
30 | 15 | Amber Herold | |
31 | 14 | Amber Herold | from Start Menu: \Start\Programs\Leginon> Leginon (on Windows) |
32 | 15 | Amber Herold | |
33 | # Leginon Setup Wizard> select "Create session" in session type if a new session is needed. |
||
34 | |
||
35 | 1 | Amber Herold | ** Fill in session name and comments. Comments will appear in the Web Viewers |
36 | 15 | Amber Herold | |
37 | 1 | Amber Herold | ** Select instrument and project, if project database is used. Image path is automatically selected. |
38 | 15 | Amber Herold | |
39 | 1 | Amber Herold | ** Image path is automatically selected based on your leginon.cfg file. |
40 | 15 | Amber Herold | |
41 | # Leginon Setup Wizard> No need to edit client list as the computer where the program is started is automated added. |
||
42 | |
||
43 | # Choose "Finish" in the set up wizard to start the session. |
||
44 | 1 | Amber Herold | |
45 | |||
46 | |||
47 | h2. Acquiring the first simulated image |
||
48 | |||
49 | |||
50 | |||
51 | 15 | Amber Herold | # Leginon/Application/Run> select Manual Application. |
52 | |
||
53 | # Leginon> From the list of nodes on the left panel, select Manual node. |
||
54 | |
||
55 | # Leginon/Manual> Open the "Setting" tool and configure the settings: |
||
56 | |
||
57 | 1 | Amber Herold | ** SimuTEM and SimuCCDCamera should be available for selection. |
58 | 15 | Amber Herold | |
59 | 12 | Amber Herold | ** Acquisition/Camera Configuration- use one of the preconfigured selection for binning and size such 512x8. |
60 | 15 | Amber Herold | |
61 | 12 | Amber Herold | ** Save image to the database = yes. |
62 | 15 | Amber Herold | |
63 | 1 | Amber Herold | ** Leave the rest of the configuration as default. |
64 | 15 | Amber Herold | |
65 | |
||
66 | # You should see your first simulated image acquired through Leginon in the image display panel. |
||
67 | 1 | Amber Herold | |
68 | |||
69 | 7 | Alex Kadokura | |
70 | h2. Check on the Web viewer |
||
71 | 1 | Amber Herold | |
72 | |||
73 | 12 | Amber Herold | |
74 | 1 | Amber Herold | Follow the [[Using the Web viewer|instruction in Manual Application Chapter]]. |
75 | |||
76 | 22 | Anchi Cheng | It will looks like the image below. The lack of metadata is because no calibration was done. Not a problem. |
77 | !simulator_view.png! |
||
78 | |||
79 | 21 | Anchi Cheng | h2. Undo the local instruments configuration |
80 | 1 | Amber Herold | |
81 | 21 | Anchi Cheng | When you are satisfied, remove the instruments.cfg from your home directory as it would show up in real microscopy sessions as well. |
82 | |||
83 | |||
84 | |||
85 | 1 | Amber Herold | h2. Problem solving for the simulation test |
86 | |||
87 | 9 | Alex Kadokura | |
88 | 1 | Amber Herold | Most problems regarding this test are caused by bad configuration. You should double |
89 | 20 | Anchi Cheng | check your [[Configure leginon.cfg|leginon.cfg]], [[Configure sinedon.cfg|sinedon.cfg]], [[Web Server Installation|config.php]] as outlined in |
90 | complete installation chapter. See [[Test run operation problems|Installation |
||
91 | Troubleshooting]], and the "Leginon Forum":http://emg.nysbc.org/projects/leginon/boards/6 or "Web Tools Forum":http://emg.nysbc.org/projects/leginon/boards/10 such as the topic " "information not saved to db":http://emg.nysbc.org/boards/10/topics/686" |
||
92 | for common problems. |
||
93 | 1 | Amber Herold | |
94 | 12 | Amber Herold | |
95 | 2 | Amber Herold | If everything goes smoothly, do a test directly on the computer controlling the microscope as in the next section. |
96 | |||
97 | |||
98 | |||
99 | ______ |
||
100 | |||
101 | [[Test Leginon on the Computer Controlling the Microscope|Test Leginon on the Computer Controlling the Microscope >]] |
||
102 | |||
103 | 1 | Amber Herold | ______ |