https://github.com/mperrin/jwst_ifu_planning_tools
Convenience functions to plan JWST observations
https://github.com/mperrin/jwst_ifu_planning_tools
Last synced: 11 months ago
JSON representation
Convenience functions to plan JWST observations
- Host: GitHub
- URL: https://github.com/mperrin/jwst_ifu_planning_tools
- Owner: mperrin
- License: mit
- Created: 2024-08-21T17:25:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T18:33:58.000Z (over 1 year ago)
- Last Synced: 2025-01-16T22:15:59.208Z (over 1 year ago)
- Language: Python
- Size: 180 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jwst_ifu_planning_tools
Convenience functions to plan JWST IFU observations, particularly MIRI MRS observations of circumstellar companions.
Code originally by Polychronis Patapis @patapisp.
## Install
Clone the repository
```
git clone https://github.com/patapisp/jwst_planning_tools.git
```
Dependencies
- webbpsf development branch: https://github.com/spacetelescope/webbpsf.git
- miricoord package: https://github.com/STScI-MIRI/miricoord
For miricoord you need to follow the instructions on the gitgub repo. In your python environment, clone the repository
and run
```commandline
python setup.py install
```
You may need to remove the `__init__.py` file from the top level miricoord directory.
Be sure to also point to the webbpsf data by downloading them from https://webbpsf.readthedocs.io/en/stable/installation.html#installing-the-required-data-files and exporting the "WEBBPSF_PATH" environment variable.
Then continue the jwst planning tools installation and run
```
cd jwst_planning_tools/
pip install -e .
```
You may need to add `jwst_planning_tools` to your python path, and add this to your bashrc file:
```
export PYTHONPATH=/path/to/jwst_planning_tools/:$PYTHONPATH
```
## Example
