Class holding all the infos for a GRB and for setting up a new
analysis DAG.
|
__init__(self,
grb_name=None,
grb_ra=None,
grb_de=None,
grb_time=None,
errorbox=None,
sat=None)
Initializes the GRB class with a basic set of information |
source code
|
|
|
set_paths(self,
input_dir=None,
main_dir=None,
ini_file=None,
inj_file=None,
config_file=None,
condor_log_path=None,
log_file=None)
Set paths for this GRB, like the path to the main directory, and the
analysis directory |
source code
|
|
|
|
|
|
|
|
|
set_addresses(self,
addresses)
Set adresses for the online notification |
source code
|
|
|
|
|
get_time_string(self)
Returns the standard suffix used for plots and html files containing
the GPS starttime and the length of the processed data. |
source code
|
|
|
make_links(self,
sourcedir,
destdir,
list_exec)
Using a list of executables names to make symbolic links rather than
copying the files itself. |
source code
|
|
|
|
|
|
|
|
|
run_datafind(self)
Run the datafind command to find the data |
source code
|
|
|
check_data_to_use(self)
Checking the difference between now and the requested data to
indentify if we can use online data or have to use offline data |
source code
|
|
|
update_inifile(self,
list_replacements)
Function to conveniently replace some of the parameters in the
ini-file by specific values. |
source code
|
|
|
get_hipe_arguments(self)
Returns the common part for the call to lalapps_trigger_hipe |
source code
|
|
|
prepare_inspiral_analysis(self)
Main piece to create and prepare the inspiral analysis |
source code
|
|
|
|
|
|
|
|
|
check_analysis_directory(self,
dag_key)
Check if the dagman.out file does exist after some while for the dag
with 'dag_key' |
source code
|
|
|
make_cvs_copy(self,
files,
dest_dir)
Copies all the files given in the list 'files' to dest_dir and
creates a file 'cvs_versions.txt' in dest_dir containing the actual
CVS version of the files |
source code
|
|
|
get_html_status(self)
Returns the status of the DAGs of this instance in form of a
dictionary. |
source code
|
|
|
|
|
apply_sed_file(self,
path,
infile,
outfile)
Applies the sed file to an in file |
source code
|
|
|
create_sed_file(self,
sedfile)
Creates the replacement sed file that will be used later on several
in files. |
source code
|
|
|
|
|
|
|
cleanup(self,
path)
Cleanup of the temporary files stored in the main dir to either put
them into the GRB directories or into the Auxiliary directory |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|