Difference between revisions of "Main Page/Research/MSB/Data processing/how it works"
From phurvitz
< Main Page | Research | MSB | Data processing
Phil Hurvitz (talk | contribs) |
Phil Hurvitz (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | __FORCETOC__ | |
− | + | * Each time the MSB starts, a new session is started. Files on the MSB increment with the pattern | |
+ | ** log.uwar | ||
+ | ** log-0001.uwar | ||
+ | ** log-0002.uwar | ||
+ | ** .... | ||
− | |||
− | + | * Downloaded data are stored in separate subdirectories for each subject, named '''part_00''', '''part_01''', etc., per MSB power-cycle session | |
+ | ** Each part should be downloaded and processed separately. Use the script [[/msb.get.data|msb.get.data]] to download all the parts in one step. | ||
− | To remove duplicate records with duplicate seconds timestamps from the class.csv file, use the perl script [[/msb_remdupes.pl|msb_remdupes.pl]] script. | + | * Once downloaded, use the R script [[/read.msb.files|read.msb.files]] to generate csv files. |
+ | |||
+ | * To remove duplicate records with duplicate seconds timestamps from the class.csv file, use the perl script [[/msb_remdupes.pl|msb_remdupes.pl]] script. | ||
The csv files can be related by timestamps (''i.e.'', '''phone_log''' and '''class''' by the '''date''' field). | The csv files can be related by timestamps (''i.e.'', '''phone_log''' and '''class''' by the '''date''' field). |
Revision as of 22:02, 12 October 2007
- Each time the MSB starts, a new session is started. Files on the MSB increment with the pattern
- log.uwar
- log-0001.uwar
- log-0002.uwar
- ....
- Downloaded data are stored in separate subdirectories for each subject, named part_00, part_01, etc., per MSB power-cycle session
- Each part should be downloaded and processed separately. Use the script msb.get.data to download all the parts in one step.
- Once downloaded, use the R script read.msb.files to generate csv files.
- To remove duplicate records with duplicate seconds timestamps from the class.csv file, use the perl script msb_remdupes.pl script.
The csv files can be related by timestamps (i.e., phone_log and class by the date field).