This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvs:fscan:manual:chapter2:invivo [2014/03/24 16:59] voyvodic |
jvs:fscan:manual:chapter2:invivo [2014/03/24 18:37] voyvodic |
||
---|---|---|---|
Line 10: | Line 10: | ||
STUDYTABLE is the name of the data table being manipulated. In general this table should already exist (i.e., created by a previous [[jvs: | STUDYTABLE is the name of the data table being manipulated. In general this table should already exist (i.e., created by a previous [[jvs: | ||
- | |||
- | ==== Study table: 1 row per scan session==== | ||
- | Column description: | ||
- | FLAG: | ||
- | * 0 - study found, no series table yet | ||
- | * 1 - study has been modified | ||
- | * 2 - series table updated | ||
- | * 3 - Local BXH file for each DICOM series | ||
- | * 4 - Local WDF updated | ||
- | * 8 - Images transferred to remote disk 4D BXH's | ||
- | * 16 - Functional maps generated | ||
- | * 32 - DTI tracking done | ||
- | * 1024 - study in table but server data directory missing | ||
- | * 2048 - study in table but scan name/ | ||
- | |||
- | ==== Series tables -- Created automatically for each study in Study Table ==== | ||
==== Mode 1 - find recently modified studies and update series tables ==== | ==== Mode 1 - find recently modified studies and update series tables ==== | ||
Line 34: | Line 18: | ||
==== Mode 2 - create local BXH header files for each series in qualifying studyies ==== | ==== Mode 2 - create local BXH header files for each series in qualifying studyies ==== | ||
For each series, created DICOM file table, sort by imgnum, then create BXH file. | For each series, created DICOM file table, sort by imgnum, then create BXH file. | ||
+ | |||
+ | FLAG: | ||
+ | * 1-7 - downsampling by this many images (default=5) | ||
+ | * 8 - downsample 500+ series lists if NIMGS > 50 | ||
+ | * 16 - downsample any DICOM series if NIMGS > 50 | ||
+ | * 32 - omit DOC images | ||
+ | * 64 - omit multiple NQ image series | ||
+ | |||
+ | Downsampling by N means only 1 image is saved per N in list. | ||
+ | |||
+ | If NDAYS, only studies with scan_date less than NDAYS old (default=30). | ||
==== Mode 3 - copy local data to OUTDIR for qualifying studies ==== | ==== Mode 3 - copy local data to OUTDIR for qualifying studies ==== | ||
Line 42: | Line 37: | ||
* 2 - deidentify name,patid | * 2 - deidentify name,patid | ||
* 4 - remove dates | * 4 - remove dates | ||
- | * 8 - don't include NQ axial (series 53) | + | * 8 - NDAYS is relative to last update in STUDYTABLE, instead of scan date |
- | * 16 - don't include DTI orig images | + | * 16 - don't include NQ axial (series 53) |
- | * 32 - include Result series 500-799 | + | * 32 - don't include DTI orig images |
- | * 64 - include float 800 series | + | * 64 - include Result series 500-799 |
- | * 128 - include integer 900 series | + | * 128 - include float 800 series |
- | * 256 - include all NQ series | + | * 256 - include integer 900 series |
- | * 512 - testing -- don't create/copy files | + | * 512 - include all NQ series |
+ | * 1024 - testing -- don't create/copy files | ||
+ | |||
+ | If NDAYS, only studies with scan_date (or update date) less than NDAYS old (default=30). | ||
+ | |||
+ | ==== Study table format: 1 row per scan session==== | ||
+ | Column description: | ||
+ | FLAG: | ||
+ | * 0 - study found, no series table yet | ||
+ | * 1 - study has been modified | ||
+ | * 2 - series table updated | ||
+ | * 3 - Local BXH file for each DICOM series | ||
+ | * 4 - Local WDF updated | ||
+ | * 8 - Images transferred to remote disk 4D BXH' | ||
+ | * 16 - Functional maps generated | ||
+ | * 32 - DTI tracking done | ||
+ | * 1024 - study in table but server data directory missing | ||
+ | * 2048 - study in table but scan name/ | ||
+ | |||
+ | ==== Series table format -- Created automatically for each study in Study Table ==== | ||
**See Also:**\\ | **See Also:**\\ |