file_tools - File access routines

vdrp.file_tools.get_dithall_file(basedir, night, shot)[source]
vdrp.file_tools.get_mulitfits_file(basedir, night, shot, expname, fname)[source]
vdrp.file_tools.get_norm_file(path, fname)[source]
vdrp.file_tools.get_throughput_file(path, night, shot)[source]

Equivalent of rtp0 script.

Checks if a night/shot specific throughput file exists.

If true, return the filename, otherise the filename for an average throughput file.

Parameters:
path : str

Path to the throughput files

shotname : str

Name of the shot