Skip to content

BlobLTTIntegrator extended with added support for expanding blob radius - #203

Open
grzegorzbor wants to merge 1 commit into
masterfrom
expanding-blob-integrator
Open

BlobLTTIntegrator extended with added support for expanding blob radius#203
grzegorzbor wants to merge 1 commit into
masterfrom
expanding-blob-integrator

Conversation

@grzegorzbor

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.19%. Comparing base (084bff3) to head (4c487f4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
+ Coverage   97.18%   97.19%   +0.01%     
==========================================
  Files          52       52              
  Lines        5045     5071      +26     
==========================================
+ Hits         4903     4929      +26     
  Misses        142      142              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@grzegorzbor
grzegorzbor requested a review from jsitarek August 24, 2026 22:00
@grzegorzbor
grzegorzbor force-pushed the expanding-blob-integrator branch from 7e4e2bb to 4c487f4 Compare August 29, 2026 22:40
]
assert u.allclose(u.Quantity(widths), 2 * (1e16 * u.cm / c).to("s"), rtol=1e-12)

def test_expanding_window_has_asymmetric_limits(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we discussed today this test is very weak (it only checks sign) instead it is much better to include a test in which min and max times are calculated by hand and compared with the output

or, converting to the integration over dτ:

The integration limits are such that tau spans [-R/c, +R/c].
F(nu, t_bc) = ∫ W(τ) * F_std(nu, t_bc + τ) dτ

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dxi is not equal dtau, so W(xi) and W(tau) cannot be the same 'W' (there is a factor 'c' of difference.

Writing: ``β_exp = v_exp/c``,``R_t = R(t_bc)`` and ``ρ = cτ/R_t`` (ρ is a line-of-sight depth measured in units of the R_t),
we obtain:

R(t_bc+τ) = R_t + v_exp·τ = R_t + β_exp·c·τ = R_t(1 + β_exp·ρ)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is still the same formula as L45 just with beta instead of v. You could immediately introduce beta in L45 and avoid L50

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.

2 participants