Rotsearch subpackage

Module to run the rotation search

get_chunk_size(total, size)[source]
get_total_chunk_cycles(total, step)[source]
mr_job_succeeded(r_fact, r_free)[source]

Check values for job success

rotation_search_factory(method)[source]
submit_chunk(chunk_scripts, run_dir, nproc, job_name, submit_qtype, submit_queue, monitor, success_func)[source]

Submit jobs in small chunks to avoid using too much disk space

Parameters:

chunk_scripts : list

List of scripts for each chunk

nproc : int, optional

The number of processors to run the job on

job_name : str

The name of the job to submit

submit_qtype : str

The cluster submission queue type - currently support SGE and LSF

submit_queue : str

The queue to submit to on the cluster

success_func : func

function to check for success