Skip to content

Update z=1 - #249

Merged
mpound merged 11 commits into
release_3_xfrom
update_z=0
Aug 25, 2026
Merged

Update z=1#249
mpound merged 11 commits into
release_3_xfrom
update_z=0

Conversation

@mpound

@mpound mpound commented Aug 25, 2026

Copy link
Copy Markdown
Owner

updates to the z=1 models (small PDR code changes, no new physics)

@mpound
mpound merged commit c1a3c19 into release_3_x Aug 25, 2026
14 checks passed
@mpound
mpound deleted the update_z=0 branch August 25, 2026 18:24
mpound added a commit that referenced this pull request Aug 25, 2026
* Add phase-space limits to LineRatioFit.run (issue #236) (#240)

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 smc models (#232)

* 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

* update for 3.0

* update badges

* Add smc models (#248)

* 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 z=1 (#249)

* 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

* aspect = equal default

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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