Roman Space Telescope technical information (YAML/ECSV data and helpers).
Project description
Roman Space Telescope Technical Information
This repository hosts technical information related to the Nancy Grace Roman Space Telescope (Roman), its Wide Field Instrument (WFI), and its Coronagraph technology demonstration (Coronagraph). This repository is open to everyone, and the information contained within is public without any restrictions. The intended audience for this information is primarily the:
- Roman Science Operations Center (SOC) at the Space Telescope Science Institute (STScI)
- Roman Science Support Center (SSC) at the Infrared Processing and Analysis Center (IPAC)
- Project Infrastructure and Wide Field Science Teams
- Committees performing definition of the community survey programs
- Roman user community
Installing this Repository
This repo can be easily installed via pip:
pip install "git+https://github.com/RomanSpaceTelescope/roman-technical-information.git"
You can then check that the code has installed properly by typing the following commands in Python:
import roman_technical_information
from roman_technical_information import io
print(io.load_yaml(
"Observatory/MissionandObservatoryTechnicalOverview/MissionandObservatory.yaml"
).keys())
Using this Repository
The information in this respository is tagged for releases. We encourage users to use the released versions to better communicate the version of the information used, particularly as some items are updated frequently.
Within the data/ directory, information related to the spacecraft, the WFI, and the Coronagraph are broken out into separate subdirectories. Each folder contains a README.md file that describes the information contained within as well as giving the update history for the information.
Note: Most files here are either in a .yaml or .ecsv format. Either can be easily read in with Python3.
YAML Files
YAML file can be read in with the pyyaml packge. For more details, please see the pyyaml documentation.
For example, here's how to read in the yaml file MissionandObservatory.yaml located in roman-technical-information/data/Observatory/MissionandObservatoryTechnicalOverview/:
# import the yaml package (installed via the pyyaml package)
import yaml
# read in the file
with open('MissionandObservatory.yaml', 'r') as file:
# the data will be stored as the Python dictionary "Roman"
Roman = yaml.safe_load(file)
# Roman is a Python dictionary
print(Roman)
print(Roman.keys())
print(Roman['Mission_and_Spacecraft_Parameters'])
print(Roman['Mission_and_Spacecraft_Parameters']['orbit'])
ECSV (Enhanced Character-Separated Values) Files
ECSV files can be read in with the astropy package. For more details, please see astropy's ecsv documentation and the astropy example on reading Gaia ecsv files.
For example, here's how to read in the ecsv file nominal_roll_angles_dec_1_observatory.ecsv located in roman-technical-information/data/Observatory/RollAngles/:
# You can use either Table or QTable, both of which are part of the astropy package
from astropy.table import Table
from astropy.table import QTable
# Read in the ecsv file
Roman = Table.read("nominal_roll_angles_dec_1_observatory.ecsv",format="ascii.ecsv")
# "Roman" is now an astropy data table (https://docs.astropy.org/en/stable/table/)
type(Roman)
dir(Roman)
print(Roman.keys())
print(Roman['Month'])
print(Roman['RA_sun'].unit)
# You can alternatively use QTable instead
Roman = QTable.read("nominal_roll_angles_dec_1_observatory.ecsv",format="ascii.ecsv")
Versioning
You can find the version number in VERSION.md.
The Roman Technical Information repo uses the following version number convention:
MAJOR.MINOR.PATCH
Where MAJOR is a major code change (such as the introduction of a many new parameters), MINOR is a minor code change (such as the introduction of a new table), and PATCH is a small patch/bugfix (e.g., fixing a typo). See Semantic Versioning for more details.
Contributions and Feedback
Please see our contributing instructions for more information.
Most importantly, if you are in need of information that is not listed here or that you suspect is out of date, please open an issue and someone will get back to you as soon as possible.
Code of Conduct
This repository follows the Spacetelescope organization Code of Conduct to provide a welcoming community to all of our users and contributors.
Documentation and Help
For more information related to the Roman mission, please see the following resources:
- Roman mission website at Goddard Space Flight Center (GSFC)
- The Roman Documentation System (RDox) at STScI
More links will be added as the become available.
For help with understanding or using the information in this repository, you can contact the Roman Space Telescope Help Desk.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file roman_technical_information-1.5.0.tar.gz.
File metadata
- Download URL: roman_technical_information-1.5.0.tar.gz
- Upload date:
- Size: 5.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ee5d3e7553d6c71cf265d958cf9934dfe47cc8b1faed510a89ff84066f8dfe
|
|
| MD5 |
1c1b3823873bb7fc0cf98e5bfa6b88dc
|
|
| BLAKE2b-256 |
0705cbed1d68d26d605f56d4fa9b6e8d32abb26f790de38320b4901dcc1671b8
|
File details
Details for the file roman_technical_information-1.5.0-py3-none-any.whl.
File metadata
- Download URL: roman_technical_information-1.5.0-py3-none-any.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f20cb9dda33df7ca70ef5a86ff8d12802122a9bb6174b9aa3a256356236854a5
|
|
| MD5 |
373a7d0c8295e36b530b9399a1bbedca
|
|
| BLAKE2b-256 |
c99adfedfdf89213a7c9241702d44fe72deab29ae326ac381670c091c778f644
|