2010 ADWCreate an image uploader program from scratch » History » Version 6
Neil Voss, 06/11/2010 09:43 AM
1 | 1 | Neil Voss | h1. Create an image uploader program from scratch |
---|---|---|---|
2 | |||
3 | 2 | Neil Voss | |
4 | |||
5 | h2. Problem statement: |
||
6 | |||
7 | We want to upload images, including defocal pairs into the database |
||
8 | |||
9 | 4 | Neil Voss | * four types of data collection: tomogram, tiltseries (RCT/OTR), defocal pairs, and normal |
10 | * current version does tiltseries (maybe tomogram series) and normal, but not defocal pairs |
||
11 | 2 | Neil Voss | |
12 | 4 | Neil Voss | h2. Background info for defocal pairs |
13 | 1 | Neil Voss | |
14 | 4 | Neil Voss | images are linked using |
15 | 2 | Neil Voss | |
16 | 4 | Neil Voss | h2. New python program: |
17 | |||
18 | 1 | Neil Voss | h4. determine what the inputs are and what is required: |
19 | |||
20 | * folder with images |
||
21 | * pixel size |
||
22 | 4 | Neil Voss | * tiltseries/defocal information (# per set) |
23 | * two session modes, create new session or append to existing session |
||
24 | ** appending to a session is a dangerous things, so I am not going to support it. |
||
25 | ** single mode simplifies things dramatically |
||
26 | * input defocus and tilt angle: |
||
27 | ** optionally allow a batch file for individual defocus and angle information<pre> |
||
28 | imagename <tab> defocus <tab> angle</pre> |
||
29 | ** have override commandline flags<pre> |
||
30 | --anglelist=-45,0,45 --defocus=-2.0e-6</pre> |
||
31 | * four data collection modes: |
||
32 | ** tomogram: we cannot support uploading tomograms, pipeline requires Leginon information |
||
33 | ** RCT/OTR requires a tiltseries connection |
||
34 | 6 | Neil Voss | ** defocal pairs require a AcquisitionImageTargetData connection, source:trunk/appion/appionlib/apDefocalPairs.py#L28 |
35 | 4 | Neil Voss | ** normal does not need these |
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | 3 | Neil Voss | |
45 | |||
46 | 1 | Neil Voss | ** run the program |
47 | ** uploading to the database |
||
48 | * Create new php interface |