Tomography session¶
This tutorial shows how to process tilt-series on-the-fly during data collection.
A sample session is available in the demo instance of nextPYP.
nextPYP streaming sessions use three parallel daemon tracks (shown in the Daemons panel):
File transfer — copy, move, or link tilt movies from the microscope computer into the session folder
Data pre-processing — frame alignment, tilt-series alignment, CTF estimation, tomogram reconstruction, and particle picking
2D Classification — optional quality monitoring while data arrives
Use Start / Cancel (which becomes Canceling…) on the session status bar to start the session or cancel all daemons. File transfer exposes Stop for that track only. The other tracks expose Restart, Clear, and Stop. Each track also has a Logs control.
A session page has three top-level tabs: View, Parameters, and Data I/O.
Step 1: Create a new session¶
Streaming is organized in Sessions (reachable from Projects via Go to Sessions). Create a new session for each data collection run
From Projects, click Go to Sessions
Start a tomography session with Start Tomography
Open the Parameters tab. On the
Sessiontab, setNameandGroup(see Administration to create and assign users to groups). Optional: changeLocationandFolder namefor where session files are stored (these cannot be changed after the session is created)
Configure processing under the remaining parameter tabs:
Set
Locationof the raw data by clicking the icon and navigating to the folder (or file pattern) where tilt-series are writtenContinue to the Gain reference tab
Specify the path and parameters for the gain reference
Continue to the Microscope parameters tab
Set
Pixel size (A),Acceleration voltage (kV), and the approximateTilt-axis angle (degrees)Continue to the Session settings tab
Set
Number of tiltsto the number of tilts in each tilt-series. This tellsnextPYPwhen a tilt-series is complete and ready to processChoose a
Raw data transfermethod:move,copy, orlink. Warning:movetransfers raw data into the session folder and deletes it from the original locationContinue to the Frame alignment tab
Enable
No movie framesif acquiring each tilt as a single image. Otherwise, setFrame patternsonextPYPknows which files belong to each tilt-seriesContinue to the Resources tab
Set
Split, Threadsand other relevant parameters (see Computing resources)
Click Save
Step 2: Launch the session¶
Start data transfer and pre-processing
On the session status bar, click Start. This starts File transfer and also Data pre-processing and 2D Classification unless you enabled
Skip pre-processing (data transfer only)under Session settingsUse Cancel on the status bar to cancel all daemons (the chip shows Canceling… until they finish). Use Stop on a Daemons track to stop that track only
Open the Data I/O tab to monitor Storage, File Transfers, Transfer Speeds, and Exports
Inspect results under View using the Plots, Table, Gallery, Tilt Series, and 2D Classes tabs. On Tilt Series, nested tabs include
Tilts,Alignment,CTF, andTomogram, plusHalf 1/Half 2/Denoised/Segmentationwhen those products exist
Step 3 (optional): Change processing parameters¶
Change data processing parameters during a session
Open Parameters, adjust settings, and click Save
In the Daemons panel, Restart the Data pre-processing track (and 2D Classification if you use it) so the new settings take effect
Step 4: Copy or delete a session¶
Copy settings from an existing session or delete a session
From the Sessions list, open the row menu () and choose Copy settings, or open a session and click the copy icon in the session toolbar
To delete a session, use Delete in the row menu or the trash icon in the session toolbar. This removes the session and files produced during pre-processing. Running sessions must be canceled before they can be deleted
To remove processed files while keeping the session configuration, use the eraser icon in the session toolbar
Step 5 (optional): Filter and export tilt-series¶
Filter tilt-series and export in star format
Under View → Table, build a filter with Add filter (live match; see Cleaning datasets). Type a filter name and click Save. Use the Status column or Detail pane to include/exclude rows as needed, then Save again
Click Export to export in
starformat. A dialog asks for resource parameters for the export job. After you confirm with Export, the job appears under Data I/O → Exports. Use the location icon to open the exported path