Actions
2010 ADWCreate an image uploader program from scratch » History » Revision 8
« Previous |
Revision 8/11
(diff)
| Next »
Neil Voss, 06/11/2010 09:50 AM
Create an image uploader program from scratch¶
Problem statement:¶
We want to upload images, including defocal pairs into the database
- four types of data collection: tomogram, tiltseries (RCT/OTR), defocal pairs, and normal
- current version does tiltseries (maybe tomogram series) and normal, but not defocal pairs
Background info for defocal pairs¶
images are linked using
New python program:¶
determine what the inputs are and what is required:¶
- folder with mrc images – only support mrc files
- pixel size, specified in meters
- tiltseries/defocal information (# per set) – cannot have both
--images-per-tilt-series=3 --images-per-defocal-group=3
- two session modes, create new session or append to existing session
- appending to a session is a dangerous things, so I am not going to support it.
- single mode simplifies things dramatically
- input defocus and tilt angle:
- optionally allow a batch file for individual defocus and angle information
imagename <tab> defocus <tab> angle
- have override commandline flags
--anglelist=-45,0,45 --defocus=-2.0e-6
- not required to allow future uploading from the web
- optionally allow a batch file for individual defocus and angle information
- four data collection modes:
- tomogram: we cannot support uploading tomograms, pipeline requires Leginon information
- RCT/OTR: requires a tiltseries connection
- defocal pairs: require a AcquisitionImageTargetData connection, source:trunk/appion/appionlib/apDefocalPairs.py#L28
- normal mode: does not need any special treatment
- override session name???
- require a description
Create the program file¶
- Find the feature request in redmine or file a new one
- Copy appionScript.py.template
- Make executable
- Commit to subversion
Preliminary setup¶
- Input options
- Check conflicts
Setup program to do the work¶
- Create session
- Obtain Scope/Camera information
- Uploading to the database
Test the program¶
Create web interface¶
Updated by Neil Voss over 14 years ago · 8 revisions