pynrc.simul.apt.build_dict_from_xml

pynrc.simul.apt.build_dict_from_xml(xml_file, keys, verbose=False)[source]

Read in the .xml file from APT, and output dictionary of parameters.

Parameters

infile (str) – Path to input .xml file

Returns

dict – Dictionary with extracted observation parameters

Raises

ValueError: – If an .xml file is provided that includes an APT template that is not supported. If the .xml file includes a fiducial pointing override with an unknown subarray specification