Skip to content

Release 3 x - #250

Merged
mpound merged 9 commits into
masterfrom
release_3_x
Aug 25, 2026
Merged

Release 3 x#250
mpound merged 9 commits into
masterfrom
release_3_x

Conversation

@mpound

@mpound mpound commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Release 3.0.1 changes. See Release notes

mpound and others added 9 commits July 28, 2026 16:53
Add radiation_field_range and density_range keywords to
LineRatioFit.run() so users can restrict the allowed radiation field
(G0) and/or density (n) window and exclude unphysical minima when the
data underconstrain the fit.

Each keyword accepts a length-2 astropy Quantity (e.g.
[100, 1000]*habing_unit) or a length-2 sequence whose elements are each
None or a scalar Quantity (e.g. [None, 1e4/u.cm**3] for a one-sided
limit). None means no limit on that side. Bounds are converted to the
model's linear axis units, and a ValueError is raised up front if a
range is malformed, has the wrong units, is inverted, or does not
overlap the model grid.

The limit is applied in two places: out-of-range cells of the coarse
chi-squared grid are masked to +inf before the argmin (on local copies,
leaving the stored chisq cubes untouched), and the refine bounds
minn/maxn/minfuv/maxfuv are clamped, which propagates to the serial,
parallel, and joint fit paths.

Adds TestRunLimits covering single-pixel, default-map, and joint-fast
paths plus the validation error cases.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* add TS copy section

* simple FITS file spotcheck script for new models

* add arguments

* update stuff

* add smc

* update

* update issues resolved

* update description

* Remove OBSGEO header variables that cause fits/wcs to warn. They are not needed for the H2 map notebook

* pass kwargs to CCData.read. Rename kwd to kwargs

* version

* smc notes

* remove OBSGEO header keywords

* better view

* SMC models added!

* fix smc tests

* update models.tab for CI370

* fix readthedocs building

* move old scripts

* Add phase-space limits to LineRatioFit.run (issue #236)

Add radiation_field_range and density_range keywords to
LineRatioFit.run() so users can restrict the allowed radiation field
(G0) and/or density (n) window and exclude unphysical minima when the
data underconstrain the fit.

Each keyword accepts a length-2 astropy Quantity (e.g.
[100, 1000]*habing_unit) or a length-2 sequence whose elements are each
None or a scalar Quantity (e.g. [None, 1e4/u.cm**3] for a one-sided
limit). None means no limit on that side. Bounds are converted to the
model's linear axis units, and a ValueError is raised up front if a
range is malformed, has the wrong units, is inverted, or does not
overlap the model grid.

The limit is applied in two places: out-of-range cells of the coarse
chi-squared grid are masked to +inf before the argmin (on local copies,
leaving the stored chisq cubes untouched), and the refine bounds
minn/maxn/minfuv/maxfuv are clamped, which propagates to the serial,
parallel, and joint fit paths.

Adds TestRunLimits covering single-pixel, default-map, and joint-fast
paths plus the validation error cases.

* comment out blabby warning, note stuck pixels

* no longer used

* change smc

* update
* add TS copy section

* simple FITS file spotcheck script for new models

* add arguments

* update stuff

* add smc

* update

* update issues resolved

* update description

* Remove OBSGEO header variables that cause fits/wcs to warn. They are not needed for the H2 map notebook

* pass kwargs to CCData.read. Rename kwd to kwargs

* version

* smc notes

* remove OBSGEO header keywords

* better view

* SMC models added!

* fix smc tests

* update models.tab for CI370

* fix readthedocs building

* move old scripts

* Add phase-space limits to LineRatioFit.run (issue #236)

Add radiation_field_range and density_range keywords to
LineRatioFit.run() so users can restrict the allowed radiation field
(G0) and/or density (n) window and exclude unphysical minima when the
data underconstrain the fit.

Each keyword accepts a length-2 astropy Quantity (e.g.
[100, 1000]*habing_unit) or a length-2 sequence whose elements are each
None or a scalar Quantity (e.g. [None, 1e4/u.cm**3] for a one-sided
limit). None means no limit on that side. Bounds are converted to the
model's linear axis units, and a ValueError is raised up front if a
range is malformed, has the wrong units, is inverted, or does not
overlap the model grid.

The limit is applied in two places: out-of-range cells of the coarse
chi-squared grid are masked to +inf before the argmin (on local copies,
leaving the stored chisq cubes untouched), and the refine bounds
minn/maxn/minfuv/maxfuv are clamped, which propagates to the serial,
parallel, and joint fit paths.

Adds TestRunLimits covering single-pixel, default-map, and joint-fast
paths plus the validation error cases.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* comment out blabby warning, note stuck pixels

* no longer used

* change smc

* update

* quick script for CenA headers

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* update badges

* updated z=1 models

* small changes

* fix the H2 characters

* add FE models

* remove + from 2020 in smc models

* reduce decimals in avlos/avperp description

* fix m=1000 column for kt2020

* final? edits

* new FIST files

* typo
@mpound
mpound merged commit 6c97b25 into master Aug 25, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant