spectre.Pipelines.Bbh.Inspiral¶
Functions
|
Determine inspiral parameters from SpECTRE initial data. |
|
Determine inspiral parameters from SpEC initial data. |
|
Schedule an inspiral simulation from initial data. |
- spectre.Pipelines.Bbh.Inspiral.inspiral_parameters(id_input_file: dict, id_metadata: dict, id_run_dir: str | Path, id_subfile_name: str | None, id_horizons_path: str | Path | None) dict¶
Determine inspiral parameters from SpECTRE initial data.
These parameters fill the ‘INSPIRAL_INPUT_FILE_TEMPLATE’.
- Parameters:
id_input_file – Initial data input file as a dictionary.
id_metadata – Metadata of the initial data input file as a dictionary.
id_run_dir – Directory of the initial data run. Paths in the input file are relative to this directory.
id_subfile_name – Subfile name inside the H5 volume files where the initial data is stored. If ‘None’ and only one subfile exists, that subfile is used. Otherwise, the subfile must be specified.
id_horizons_path – Path to H5 file containing information about the horizons in the ID (e.g. mass, spin, spherical harmonic coefficients). If this is ‘None’, the default is the ‘Horizons.h5’ file inside ‘id_run_dir’.
- spectre.Pipelines.Bbh.Inspiral.inspiral_parameters_spec(id_params: dict, id_run_dir: str | Path) dict¶
Determine inspiral parameters from SpEC initial data.
These parameters fill the ‘INSPIRAL_INPUT_FILE_TEMPLATE’.
- Parameters:
id_params – Initial data parameters loaded from ‘ID_Params.perl’.
id_run_dir – Directory of the initial data, which contains ‘ID_Params.perl’ and ‘GrDomain.input’.
- spectre.Pipelines.Bbh.Inspiral.start_inspiral(id_input_file_path: str | Path, lev: int | None = None, refinement_level: int | None = None, polynomial_order: int | None = None, id_run_dir: str | Path | None = None, id_subfile_name: str | None = None, inspiral_input_file_template: str | Path = INSPIRAL_INPUT_FILE_TEMPLATE, id_horizons_path: str | Path | None = None, continue_with_ringdown: bool = False, eccentricity_control: bool = False, pipeline_dir: str | Path | None = None, run_dir: str | Path | None = None, segments_dir: str | Path | None = None, **scheduler_kwargs)¶
Schedule an inspiral simulation from initial data.
Point the ID_INPUT_FILE_PATH to the input file of your initial data run, or to an ‘ID_Params.perl’ file from SpEC. Also specify ‘id_run_dir’ if the initial data was run in a different directory than where the input file is. Parameters for the inspiral will be determined from the initial data and inserted into the ‘inspiral_input_file_template’. The remaining options are forwarded to the ‘schedule’ command. See ‘schedule’ docs for details.
## Resource allocation
Runs on 4 nodes by default when scheduled on a cluster. Set ‘num_nodes’ to adjust.