spacekit - JWST calibration pipeline resource prediction modeling
How-To
Generate Predictions (unlabeled data)
## Setup
Install with pip
$ pip install spacekit
$ git clone https://github.com/spacetelescope/spacekit
$ cd spacekit
$ pip install -e .
## Run
Generate predictions
*from the command line*
$ python -m spacekit.skopes.jwst.cal.predict /path/to/inputs
*from python*
from spacekit.skopes.jwst.cal.predict import JwstCalPredict
input_path = "/path/to/level1/exposures"
jcal = JwstCalPredict(input_path)
jcal.run_inference()
Outputs: * jcal.predictions : dictionary of level 3 products and estimated memory footprint (GB)