pynrc.simul.apt

APT conversion procedures

Functions

build_dict_from_xml(xml_file, keys[, verbose])

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

create_det_class(visit_dict, exp_id, detname)

create_obs_params(filt, pupil, mask, det, ...)

Generate obs_params dictionary

file_segmenting(det[, max_size_MB])

gen_all_apt_visits(xml_file, pointing_file, ...)

Read in APT output files and return a dictionary that holds all necessary visit information to create an observation in DMS format.

gen_jwst_pointing(visit_dict, obs_params[, ...])

Create telescope pointing sequence for a given visit / exposure.

gen_pointing_info(*args, **kwargs)

**Deprecated.

get_ditherinfo(xml_file[, verbose])

Dither information

get_exp_type(visit_type, visit_mode, pupil)

Possible Exposure Types:

get_filter_info(xml_file[, verbose])

Filter information for each exposure

get_orient_specreq(xml_file)

Grab V3 PA Range special requirements from XML file

get_pointing_info(pointing_files[, propid, ...])

Read in information from APT's pointing file.

get_proposal_info(xml_file[, verbose])

Get basic program information

get_readmodes(xml_file[, verbose])

Readout information for each exposure

get_roll_info(xml_file)

get_siaf_detectors(apname)

List detectors associated with SIAF aperture name

get_target_info(xml_file[, verbose])

Target for each each exposure

get_tel_angles(ra, dec[, obs_date, obs_time])

For a given RA, Dec and date, return the telescope pitch and V3 PA angles.

get_timing_info(timing_json_file, ...)

pitch_vs_time(xml_file, pointing_file, ...)

populate_obs_params(visit_dict, exp_id, ...)

Create obs_params from visit dictionary

read_subarray_definition_file(filename)

Read in the file that contains a list of subarray names and related information

update_eng_detectors(visit_dict)

Update detectors used for engineering templates

Classes

AptInput([input_xml, pointing_file, ...])

Summary

DMS_input(xml_file, pointing_file, ...[, ...])

Class to generate a series of observation dictionaries in order to build DMS-like files.

ReadAPTXML()

Class to open and parse XML files from APT.