cogwheel.validation.inference.submit_slurm¶
- cogwheel.validation.inference.submit_slurm(config_filename, i_sample, n_hours_limit=12, memory_per_task='16G', sbatch_cmds=())¶
Submit a job to SLURM that performs an injection in reproducible Gaussian noise and estimates its parameters.
- Parameters:
- config_filenamestr, os.PathLike
Path to a config file.
- i_sampleint
Index of the sample within the injection set.
- n_hours_limitint
Number of hours to allocate for the job.
- memory_per_taskstr
Determines the memory and number of CPUs.
- sbatch_cmdstuple of str
Strings with SBATCH commands.