Skip to content

Commit

Permalink
Merge branch 'master' into bayesian-wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dlakaplan authored Sep 22, 2023
2 parents a810508 + 2cb572b commit d027f08
Show file tree
Hide file tree
Showing 7 changed files with 619 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ the released changes.
- `pint.output.publish` module and `pintpublish` script for generating publication (LaTeX) output.
- Added radial velocity methods for binary models
- Support for wideband data in `pint.bayesian` (no correlated noise).
- Added `DMWaveX` model (Fourier representation of DM noise)
### Fixed
- Wave model `validate()` can correctly use PEPOCH to assign WAVEEPOCH parameter
- Fixed RTD by specifying theme explicitly.
Expand Down
1 change: 1 addition & 0 deletions src/pint/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from pint.models.binary_ddk import BinaryDDK
from pint.models.binary_ell1 import BinaryELL1, BinaryELL1H, BinaryELL1k
from pint.models.dispersion_model import DispersionDM, DispersionDMX
from pint.models.dmwavex import DMWaveX
from pint.models.frequency_dependent import FD
from pint.models.glitch import Glitch
from pint.models.phase_offset import PhaseOffset
Expand Down
2 changes: 1 addition & 1 deletion src/pint/models/dispersion_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def d_delay_d_dmparam(self, toas, param_name, acc_delay=None):
bfreq = self._parent.barycentric_radio_freq(toas)
except AttributeError:
warn("Using topocentric frequency for dedispersion!")
bfreq = toas.table["freq"]
bfreq = toas.table["freq"].quantity
param_unit = getattr(self, param_name).units
d_dm_d_dmparam = np.zeros(toas.ntoas) * u.pc / u.cm**3 / param_unit
for df in self.dm_deriv_funcs[param_name]:
Expand Down
Loading

0 comments on commit d027f08

Please sign in to comment.