File size: 258 Bytes
4f28aaa
 
 
49b38ba
4f28aaa
49b38ba
1
2
3
4
5
6
7
import subprocess as sp


def run_model(fixed_path, moving_path, output_path, task):
    sp.check_call(["ddmr", "--fixed", fixed_path, "--moving", moving_path, \
                   "-o", output_path, "-a", task, "--model", "BL-NS", "--original-resolution"])