Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miri3d

Code for generation of reference files and cube building for the MIRI MRS.

Contents:

  • IDL implementations of some code for backward compatibility live in the idl/ directory
  • Python code lives in the miri3d/ directory
    • /cubepar/: Code to create the pipeline cube-building parameter file (cubepars)
    • /drizzle/: Standalone implementation of a drizzle-based cube building algorithm (under development)
    • /modshep/: Standalone implementation of the Modified Shepard cube building algorithm
    • /tools/: Tools for pipeline testing

Installation:

Python:

Python code is developed for a python 3.13 environment. Clone this git repository to your local machine, and then install for your active conda environment by using:

pip install -e .

MIGRATION WARNING: 7/3/26 this migrated from setup.py to pyproject.toml installation, which has changed some paths.

Note that miri3d requires that the miricoord repository be installed as well (https://github.com/STScI-MIRI/miricoord). Some functions also rely upon having the pysiaf (https://github.com/spacetelescope/pysiaf) and JWST pipeline (https://github.com/spacetelescope/jwst) modules installed as well.

Some routines are configured to write files to a specific set of subdirectories on disk (when, e.g., generating new reference files). The base directory for these should be set as:

setenv MIRI3D_DATA_DIR /YourDataPathHere/

If this is not set, these files will default to writing out in your current working directory.

Dependencies:

About

MRS cube building

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages