-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest
More file actions
27 lines (21 loc) · 1.23 KB
/
test
File metadata and controls
27 lines (21 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
### Example pipeline
### (1) Inference
bin/PGBAR --data_file=data/soma/LineScan-11252022-0851-005_0/LineScan-11252022-0851-005_0_data_poisson.dat \
--constants_file=constants/constants_template.json \
--output_folder=test \
--column=1 \
--tag=test \
--prior=pipelines/prior_from_single_0.dat \
--niter=200
### (2) Extraction of statistical summaries
rargs=(
test ## output folder
data/soma/LineScan-11252022-0851-005_0/LineScan-11252022-0851-005_0_data_poisson.dat ## dF/F
1 ## column index
test ## tag used
data/soma/LineScan-11252022-0851-005_0/stimtimes_poisson.dat ## ground truth stimulations (if known)
20 ## last samples to consider
)
Rscript webtools/SMC_make_summary.R ${rargs[@]}
## (3) This R script generates a file summary_test.json in the test folder which can be imported through the javascript app