Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
811840b
ignoring my venv
alan-stokes May 7, 2026
c5b8f93
listing the from source pip installs needed from a base line venv
alan-stokes May 7, 2026
18f16dc
changes to avoid setuptools. this allowed me to bypass the issue that…
alan-stokes May 7, 2026
7f46947
added the webbpsf requirement.
alan-stokes May 7, 2026
e03e999
trying to pep8 the files and fix naming conventions and documentation…
alan-stokes May 7, 2026
3b09ffe
SOOOOO many changes to make it pep8 complient and good practice.
alan-stokes May 7, 2026
1c1e926
SOOOOO many changes to make it pep8 complient and good practice.
alan-stokes May 8, 2026
212dd4a
even more pep8 and constants and renmaing and doc strings, broad exce…
alan-stokes May 13, 2026
acf9f07
even more pep8 and constants and renmaing and doc strings, broad exce…
alan-stokes May 14, 2026
963dcec
no more errors
alan-stokes May 20, 2026
df3e5c9
upgraded tests. but still have issue that we have no filter set
alan-stokes May 22, 2026
fae91cc
just a tweak
alan-stokes May 22, 2026
335176f
got test_match_run to complete successfully
alan-stokes May 22, 2026
c70d8b1
this brings most of the tests into a passable state.
alan-stokes May 22, 2026
02156f1
a clean up of the readme.md and a route to access webbpsf stuff.
alan-stokes May 22, 2026
e1d72b3
all tests minus AST tests now pass. fixes some more col_names vs coln…
alan-stokes May 25, 2026
2c35662
fixed this filter header to be a hardcoded string, as its used everyw…
alan-stokes May 25, 2026
731d665
all changes needed to get ast tests running smoothly.
alan-stokes May 25, 2026
055910f
removes this monster test from the standard flow. but now everything …
alan-stokes May 25, 2026
e29f2f7
this adds the commented out code for artifical stars. no confidence t…
alan-stokes May 26, 2026
f3b624e
everything but matches are now typed
alan-stokes May 29, 2026
0819ab8
cleaned up a tidge of sed fit yso zip models
alan-stokes May 29, 2026
05fc31b
finished typings on matches
alan-stokes May 29, 2026
d1eb170
not usful
alan-stokes Jun 1, 2026
f4d2e5d
update install doc to explicitly flag that --init is solyl for jwst
alan-stokes Jun 1, 2026
3f3f9aa
updated docs for graphviz, fixed flow to be readable. fixed a few typ…
alan-stokes Jun 4, 2026
ef9f598
added new figure
alan-stokes Jun 4, 2026
2bb039c
Merge pull request #13 from alan-stokes/artifical_star_recovery
alan-stokes Jun 4, 2026
abfae14
added a tracker for the separation values as a hardcoded constant and…
alan-stokes Jun 5, 2026
de781d5
clean up the multi-pool
alan-stokes Jun 8, 2026
72601c4
Merge branch 'artifical_star_recovery' into artifical_stars_1_route
alan-stokes Jun 8, 2026
fed9fe3
lots of changes to try to resolve last tests. lots of new typing appe…
alan-stokes Jun 11, 2026
2a6049e
added copywrite to all files.
alan-stokes Jun 11, 2026
298ad08
Merge remote-tracking branch 'origin/main' into copywrite
alan-stokes Jun 11, 2026
0704a3b
Merge pull request #35 from alan-stokes/copywrite
alan-stokes Jun 11, 2026
2e358cb
working setup once more.
alan-stokes Jun 12, 2026
ae2e6e6
fixed tests and all typing issues now
alan-stokes Jun 12, 2026
cc888b5
Merge remote-tracking branch 'origin/main' into artifical_stars_1_route
alan-stokes Jun 12, 2026
3710ecc
removed dead constants (which def makes the code more manageable) and…
alan-stokes Jun 12, 2026
1186213
Merge pull request #34 from alan-stokes/artifical_stars_1_route
alan-stokes Jun 12, 2026
dd9c69c
lost version. reclaimed it
alan-stokes Jun 12, 2026
eb3ff25
Merge pull request #40 from alan-stokes/reclaim_version
alan-stokes Jun 12, 2026
4111626
Merge remote-tracking branch 'origin/main' into artifical_star_1_path
alan-stokes Jun 12, 2026
e80f9a1
merged and tested
alan-stokes Jun 15, 2026
681f146
add warning when using f150w2
alan-stokes Jun 15, 2026
8f6b5f1
added test. had to fix the prints to not directly tie into raw to all…
alan-stokes Jun 15, 2026
0b6a3ed
realised i messed the params up.
alan-stokes Jun 15, 2026
28d7f3a
fixes full run
alan-stokes Jun 15, 2026
6e55273
removed stop process and dither match
alan-stokes Jun 15, 2026
7f4731c
fixed doc over --apply-zeropint, --calc-instr-zp and -X -exact
alan-stokes Jun 15, 2026
97e050c
brings back sub_image_size as a workable parameter
alan-stokes Jun 15, 2026
70b4def
removal of SN_THRESH
alan-stokes Jun 15, 2026
bba8407
removes centroid_delta_threshold and DPOS_THRESH
alan-stokes Jun 15, 2026
a7e17d8
adds the rest of the params to the bottom of the param file.
alan-stokes Jun 15, 2026
f519ab9
tests update param and fixed code to test traversing old param file.
alan-stokes Jun 15, 2026
3c20313
updats requirements to match new test setup.
alan-stokes Jun 16, 2026
805256a
fix errors and some types and the requirements.txt to cover everythin…
alan-stokes Jun 16, 2026
535f930
enum for table col names
alan-stokes Jun 17, 2026
0942c2f
exit state enum
alan-stokes Jun 17, 2026
f3ce803
QTableColNames enum
alan-stokes Jun 17, 2026
195a2d3
HeaderTags enum
alan-stokes Jun 17, 2026
50d06a4
ImageHeaderTags enum
alan-stokes Jun 17, 2026
076a79f
SourceFalgs enum
alan-stokes Jun 17, 2026
426bff7
typo
alan-stokes Jun 17, 2026
5dcfd43
final constants and import clean up
alan-stokes Jun 17, 2026
d6f5a27
getting continious intergration working
alan-stokes Jun 18, 2026
1034279
fix ci issue on numpy being too modern
alan-stokes Jun 18, 2026
1b42eca
pep8 errrors
alan-stokes Jun 18, 2026
dbb8eb3
bring in env varaibles
alan-stokes Jun 18, 2026
3b620f0
brings in env variables and adds a intiial pre test to the hardocded …
alan-stokes Jun 18, 2026
aa8c3e4
add rats and cleaned up to 80 chars
alan-stokes Jun 18, 2026
2346389
added copywrites and remvoed the fitlers. pep8 should be pep8
alan-stokes Jun 18, 2026
e1a231c
some flake 8
alan-stokes Jun 18, 2026
2bba0c1
some flake 8. with help of gemini to clean it
alan-stokes Jun 19, 2026
0806793
some flake 8. with help of gemini to clean it
alan-stokes Jun 19, 2026
f7f4fca
more fixes. this time via local flake 8 and my own efforts
alan-stokes Jun 19, 2026
7edc33c
more fixes. this time via local flake 8 and my own efforts
alan-stokes Jun 19, 2026
76af126
more flake8
alan-stokes Jun 19, 2026
18e425a
more flake8
alan-stokes Jun 19, 2026
395d7cc
remove env from git
alan-stokes Jun 19, 2026
cb42e63
remove env from git
alan-stokes Jun 19, 2026
bf08517
more flake8
alan-stokes Jun 19, 2026
d0974a6
more flake8
alan-stokes Jun 19, 2026
f0fcf3b
remove test files. to be utilised by the CI via test release
alan-stokes Jun 19, 2026
aef511b
remove test files. to be utilised by the CI via test release
alan-stokes Jun 19, 2026
0a66c99
added a readme to ensure folder exists
alan-stokes Jun 19, 2026
fa476dd
adds downloading of the assets and into cache for CI runs
alan-stokes Jun 19, 2026
f9755c2
trying again
alan-stokes Jun 19, 2026
69b53d1
trying again
alan-stokes Jun 19, 2026
2b9bdec
added a test for detection
alan-stokes Jun 19, 2026
f8938af
clear issues about WARNING: VerifyWarning: Card is too long, comment …
alan-stokes Jun 19, 2026
c47f3b2
flake8
alan-stokes Jun 19, 2026
3d87968
makes basic test of detection
alan-stokes Jun 23, 2026
979ee92
lots of little changes to try to figure out artifical stars. includin…
alan-stokes Jun 24, 2026
e1b817e
got the test working
alan-stokes Jun 24, 2026
268a196
flake 8 fixes
alan-stokes Jun 24, 2026
6427a9c
flake 8 fixes
alan-stokes Jun 24, 2026
f5c4140
Update constants.py
alan-stokes Jun 25, 2026
140e10e
Merge pull request #20 from alan-stokes/artifical_star_1_path
alan-stokes Jun 25, 2026
c5d582c
attempts to get tests flowing
alan-stokes Jun 25, 2026
ea6fa9c
Merge remote-tracking branch 'origin/main' into redundant_dependencies
alan-stokes Jun 25, 2026
bfa8db0
Merge pull request #43 from alan-stokes/redundant_dependencies
alan-stokes Jun 25, 2026
e6ec8f9
Merge remote-tracking branch 'origin/main' into #1_modern_dependencies
alan-stokes Jun 25, 2026
8236d2a
Merge pull request #44 from alan-stokes/#1_modern_dependencies
alan-stokes Jun 25, 2026
99fd6a7
Merge remote-tracking branch 'origin/main' into #3-enum_constants
alan-stokes Jun 25, 2026
37d4130
Merge pull request #45 from alan-stokes/#3-enum_constants
alan-stokes Jun 25, 2026
00e1115
Merge remote-tracking branch 'origin/main' into #31-ci-intergration
alan-stokes Jun 25, 2026
8485ca6
Merge pull request #46 from alan-stokes/#31-ci-intergration
alan-stokes Jun 25, 2026
6a14a29
Merge remote-tracking branch 'origin/main' into #31-ci-intergration-p…
alan-stokes Jun 25, 2026
141e00d
fixed issue with missing test data. now the code will detect and down…
alan-stokes Jun 25, 2026
78069b5
fix tests
alan-stokes Jun 25, 2026
07f5349
flake 8
alan-stokes Jun 25, 2026
bb2b081
flake 8 and fixes test
alan-stokes Jun 25, 2026
33c4862
more fixes. now match no longer sends files to the data folder.
alan-stokes Jun 25, 2026
8bc811b
trying to fix
alan-stokes Jun 25, 2026
fcdd4e1
f8
alan-stokes Jun 25, 2026
608e2cc
attempt to diagnose
alan-stokes Jun 26, 2026
0ab501e
attempt to diagnose
alan-stokes Jun 26, 2026
3394934
attempt to diagnose
alan-stokes Jun 26, 2026
5a28f7d
possibly fix it
alan-stokes Jun 26, 2026
d453020
possibly fix it by generting the speicific psf for the test
alan-stokes Jun 26, 2026
da726cb
fixes tests
alan-stokes Jun 26, 2026
1ea2373
f8
alan-stokes Jun 26, 2026
f07ae7f
doc
alan-stokes Jun 26, 2026
fcd8e3d
Merge pull request #47 from alan-stokes/#31-ci-intergration-proper-tests
alan-stokes Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 122 additions & 40 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,122 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
python -m pytest
#This workflow will install Python dependencies, run tests and lint with
# multiple versions of Python
# For more information see:
# (https://help.github.com/actions/language-and-framework-guides/
# using-python-with-github-actions)

name: Python application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
env:
STARBUG_TEST_DIR: ${{ github.workspace }}/tests/dat/
WEBBPSF_PATH: ${{ github.workspace }}/webbpsf_cache
STARBUG_DATDIR: ${{ github.workspace }}/starbug_data

strategy:
matrix:
# Run across multiple modern versions to ensure starbug2 handles
# updates smoothly
python-version: ["3.12", "3.13"]

steps:
# Upgraded to v4 for speed and security
- uses: actions/checkout@v4

# create directories for these dependency folders in envs
- name: Create DAta and Cache Directories
run: |
mkdir -p ${{ github.workspace }}/webbpsf_cache
mkdir -p ${{ github.workspace }}/starbug_data

# Upgraded to v5 and added automatic pip caching to speed up builds
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

# Standardised dependency installation using modern pyproject.toml
# configuration
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
# Install your core pipeline dependencies from the
# requirements.txt file
if [ -f requirements.txt ]; then \
pip install -r requirements.txt; fi

# Install starbug2 itself in editable mode
pip install -e .

- name: Cache FITS test data
id: cache-fits
uses: actions/cache@v4
with:
path: |
tests/dat/ngc6822_F770W_i2d.fits
tests/dat/image.fits
tests/dat/psf.fits
key: ${{ runner.os }}-fits-cache-v1

- name: Download FITS files from Private Draft Release if cache missed
if: steps.cache-fits.outputs.cache-hit != 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release download TEST_DATA --repo "${{ github.repository }}" --pattern "*.fits" --dir "tests/dat"


- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined
# names
flake8 . --count --show-source --statistics --max-line-length=79
# exit-zero treats all errors as warnings. The GitHub editor is
# 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 \
--max-line-length=127 --statistics

# --- LIGHTWEIGHT RAT LICENSE HEADER CHECK ---
- name: Verify License Headers (RAT Check)
run: |
echo "Checking for license headers in starbug2 source files..."
missing_headers=0

# Find all .py files in your source directory, ignoring
# environment folders
for file in $(find starbug2 -name "*.py"); do
if ! grep -q "Copyright (C) 2026 UKATC" "$file"; then
echo "❌ Missing license header in: $file"
missing_headers=$((missing_headers + 1))
fi
done

if [ $missing_headers -gt 0 ]; then
echo "Error: $missing_headers file(s) are missing the" \
" mandatory copyright header block."
exit 1
else
echo "✅ All source files contain valid copyright headers."
fi


- name: Pre-test Filter PSF setup
run: |
echo "Starting pre test filter psf setup"
starbug2 --init -s FILTER=F444W
echo "Command completed successfully!"

- name: Test with pytest
run: |
python -m pytest
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ ENV/
env.bak/
venv.bak/

# env
/star_bug_env/

# Spyder project settings
.spyderproject
.spyproject
Expand All @@ -138,3 +141,6 @@ dmypy.json

# Pyre type checker
.pyre/

# remove test files
/tests/dat/*.fits
58 changes: 47 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
  • Powerful modular and simple GNU Linux standard command line interface


<br clear="left"/>
<br clear="left">

[![Python application](https://github.com/conornally/starbug2/actions/workflows/python-app.yml/badge.svg)](https://github.com/conornally/starbug2/actions/workflows/python-app.yml)
[![PyPI version fury.io](https://badge.fury.io/py/starbug2.svg)](https://pypi.python.org/pypi/starbug2/)
Expand All @@ -27,21 +27,60 @@

```bash
$~ pip install starbug2
```

NOTE::
At this point star bug is fully functional for telescopes which are not JWST.
To bring into line for use with JWST, the "JWST initialization" section
needs to be followed, which can be done using the following command line.
```
$~ starbug2 --init
```
</br>

NOTE:: I found the stpsf stuff to fail due to outdated dependnecy. needed to
do the following:
```
pip install --upgrade pysiaf

```

### From source

If installing starbugII from source, the following commands are used to ensure
current dependencies are required. The venv name is not essential to the install
but was set up for consistency.

- ```python3 -m venv star_bug_env```
- ```./star_bug_env/bin/pip install --upgrade stpsf==2.2.0```
- ```./star_bug_env/bin/pip install numpy==2.3.5 photutils==2.0.1 --force```
- ```./star_bug_env/bin/pip install parse==1.22.0```
- ```./star_bug_env/bin/pip install setuptools==82.0.1```
- ```./star_bug_env/bin/pip install scikit-image==0.26.0```
- ```./star_bug_env/bin/pip install webbpsf==2.0.0```
- ```./star_bug_env/bin/pip install pytest==9.0.3```
- ```./star_bug_env/bin/python -m pip install build```

instead of:
- ```pip install .```
I used the following command to ensure live development.
- ```./star_bug_env/bin/python -m pip install -e . --no-deps```

For generating the doc images. graphviz is needed. To isntall that , run
the following commands:
``` pip isntall graphviz```

> [!IMPORTANT]
> If you make use of *StarbugII* in any published or presented work, please include a [citation](https://ui.adsabs.harvard.edu/abs/2023ascl.soft09012N/abstract).
> If you make use of *StarbugII* in any published or presented work,
> please include a [citation](https://ui.adsabs.harvard.edu/abs/2023ascl.soft09012N/abstract).
>
> *StarbugII* uses methods and datatypes from [astropy](https://docs.astropy.org/en/stable/) and [photutils](https://photutils.readthedocs.io/en/stable), please acknowledge them accordingly.

</br>
> *StarbugII* uses methods and datatypes from [astropy](https://docs.astropy.org/en/stable/) and
> [photutils](https://photutils.readthedocs.io/en/stable), please acknowledge them accordingly.

## Documentation

See the [full documentation](https://starbug2.readthedocs.io/en/latest/?badge=latest) for the complete installation and detailed guides to using the photometric routines.
Basic usage information is produced by running:
See the [full documentation](https://starbug2.readthedocs.io/en/latest/?badge=latest) for the complete installation and detailed
guides to using the photometric routines. Basic usage information is
produced by running:

```txt
StarbugII - JWST PSF photometry
Expand Down Expand Up @@ -73,9 +112,6 @@ usage: starbug2 [-ABDfGhMPSv] [-b bgdfile] [-d apfile] [-n ncores] [-o ouput] [-
--generate-run *.fits : Generate a simple run script
--version : Print starbug2 version

--apply-zeropint a.fits : Apply a zeropoint (-s ZP_MAG=1.0) to a.fits
--calc-instr-zp a.fits : Calculate and apply an instrumental zero point onto a.fits

--> typical runs
$~ starbug2 -vD -p file.param image.fits //Source detect on image with a parameter file
$~ starbug2 -vDM -n4 images*.fits //Source detect and match outputs of a list of images
Expand Down
94 changes: 94 additions & 0 deletions docs/source/_static/image_scripts/flow.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
import graphviz

# Initialize the directed graph
dot = graphviz.Digraph(
'starbug_pipeline',
comment='Starbug2 Pipeline Flow',
format='png'
)

# Global Graph attributes
dot.attr(rankdir='TB')
dot.attr(splines='ortho')
dot.attr(nodesep='0.6')
dot.attr(ranksep='0.4')
dot.attr(bgcolor='transparent')

# Global Node attributes (Light blue fill, dark blue border, black text)
dot.attr('node',
fontname='Courier New, monospace',
fontsize='12',
fontcolor='#000000',
style='filled',
fillcolor='#E3F2FD',
color='#1565C0',
penwidth='1.5')

# Global Edge attributes (Solid black arrows)
dot.attr('edge',
fontname='Courier New, monospace',
fontsize='10',
color='#000000',
arrowsize='1.0',
penwidth='1.5')

# --- Define Nodes ---
# Terminals / Commands (Pill-shaped/Rounded boxes)
dot.node('init_param', '$~ starbug2 --local-param', shape='box',
style='filled,rounded')
dot.node('cmd_D', '$~ starbug2 -D', shape='box', style='filled,rounded')
dot.node('cmd_B', '$~ starbug2 -B', shape='box', style='filled,rounded')
dot.node('cmd_P', '$~ starbug2 -P', shape='box', style='filled,rounded')

# Files (Document/Note shaped icons)
dot.node('image_fits', 'image.fits', shape='note')
dot.node('starbug_param', 'starbug.param', shape='note')
dot.node('image_ap', 'image-ap.fits\n(TABLE)', shape='note')
dot.node('image_bg', 'image-bg.fits\n(IMAGE)', shape='note')
dot.node('image_res', 'image-res.fits\n(IMAGE)', shape='note')
dot.node('image_psf', 'image-psf.fits\n(TABLE)', shape='note')

# --- Structural Positioning & Constraints ---
# Force horizontal alignments for row uniformity
with dot.subgraph() as s:
s.attr(rank='same')
s.node('image_fits')
s.node('starbug_param')

with dot.subgraph() as s:
s.attr(rank='same')
s.node('cmd_D')
s.node('image_ap')

with dot.subgraph() as s:
s.attr(rank='same')
s.node('cmd_B')
s.node('image_bg')

with dot.subgraph() as s:
s.attr(rank='same')
s.node('cmd_P')
s.node('image_res')

# --- Define Connections ---
# Parameter branch
dot.edge('init_param', 'starbug_param')


dot.edge('starbug_param', 'cmd_D')

# Main data flow
dot.edge('image_fits', 'cmd_D')
dot.edge('cmd_D', 'image_ap')

dot.edge('cmd_D', 'cmd_B')
dot.edge('cmd_B', 'image_bg')

dot.edge('cmd_B', 'cmd_P')
dot.edge('cmd_P', 'image_res')

dot.edge('cmd_P', 'image_psf')

# Save and compile to disk
dot.render('../images/flow', cleanup=True)
print("Pipeline chart compiled successfully as flow.png!")
Binary file modified docs/source/_static/images/flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".

html_static_path = ['_static']
html_favicon="_static/images/starbug.ico"
html_favicon = "_static/images/starbug.ico"
html_logo = "_static/images/starbug.png"

html_css_files = [
Expand Down
7 changes: 5 additions & 2 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ Installing the development version::
$~ pip install .


NOTE::
At this point star bug is fully functional for telescopes which are not JWST.
To bring into line for use with JWST, the "JWST initialization" section
needs to be followed.


Initialising
JWST Initialization
After the package is installed, there are a few steps required to initialise *starbug2*:

`WEBBPSF <https://github.com/spacetelescope/webbpsf>`_ is a dependency of *starbug* that has its own installation process which is not done automatically. This process is documented `here <https://webbpsf.readthedocs.io/en/latest/installation.html>`_ but requires two main steps. Download the data file on the website, named something like webbpsf-data-X.X.X.tar.gz and expand it into a directory, then append to your .bashrc (or equivalent)::
Expand Down
Loading