Test Leginon with Simulator » History » Revision 21
Revision 20 (Anchi Cheng, 01/21/2016 12:28 PM) → Revision 21/22 (Anchi Cheng, 01/21/2016 12:29 PM)
h1. Test Leginon with Simulator h2. Test Leginon with Simulator TEM and CCD simulators are created automatically on the computer Leginon program started at. They are convenient as a way to look around the GUI to try out buttons. The images "acquired" are just random squares on background. Here we will use them to test the database connection and storage disk mapping. h2. Configure a local instruments.cfg to be used with the simulators Copy pyscope/instruments.cfg.template to your home directory and rename it instruments.cfg h2. Start Leginon on the computer you will run the process # Register as a Leginon user and then copy and personalize your configuration file before your first use. ** Leginon guru: See [[Recommandation_for_setup_at_a_new_institute|Recommendation for setup at a new institute]] ** Regular Users: Refer to [[Set up for a new regular user|Set up for a new regular user]] in "Administration Tools" Chapter. # start-leginon.py (From any directory for Linux) OR from Start Menu: \Start\Programs\Leginon> Leginon (on Windows) # Leginon Setup Wizard> select "Create session" in session type if a new session is needed. ** Fill in session name and comments. Comments will appear in the Web Viewers ** Select instrument and project, if project database is used. Image path is automatically selected. ** Image path is automatically selected based on your leginon.cfg file. # Leginon Setup Wizard> No need to edit client list as the computer where the program is started is automated added. # Choose "Finish" in the set up wizard to start the session. h2. Acquiring the first simulated image # Leginon/Application/Run> select Manual Application. # Leginon> From the list of nodes on the left panel, select Manual node. # Leginon/Manual> Open the "Setting" tool and configure the settings: ** SimuTEM and SimuCCDCamera should be available for selection. ** Acquisition/Camera Configuration- use one of the preconfigured selection for binning and size such 512x8. ** Save image to the database = yes. ** Leave the rest of the configuration as default. # You should see your first simulated image acquired through Leginon in the image display panel. h2. Check on the Web viewer Follow the [[Using the Web viewer|instruction in Manual Application Chapter]]. h2. Undo the local instruments configuration When you are satisfied, remove the instruments.cfg from your home directory as it would show up in real microscopy sessions as well. h2. Problem solving for the simulation test Most problems regarding this test are caused by bad configuration. You should double check your [[Configure leginon.cfg|leginon.cfg]], [[Configure sinedon.cfg|sinedon.cfg]], [[Web Server Installation|config.php]] as outlined in complete installation chapter. See [[Test run operation problems|Installation 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" for common problems. h2. Undo the local instruments configuration Remove the instruments.cfg from your home directory as it would show up in real microscopy sessions as well. If everything goes smoothly, do a test directly on the computer controlling the microscope as in the next section. ______ [[Test Leginon on the Computer Controlling the Microscope|Test Leginon on the Computer Controlling the Microscope >]] ______