Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f1a01a0
added SEOBNRv4E_opt to waveform generator
nihargupte-ph Nov 7, 2022
1b3ffd7
added mean anomaly to waveform generation
nihargupte-ph Nov 9, 2022
92b1ed9
new gitignore to ignore local files
nihargupte-ph Feb 13, 2023
b9f664d
Added Synthetic Phase
nihargupte-ph Feb 20, 2023
ff34791
removed weird waveform_generator clause
nihargupte-ph Feb 20, 2023
951944e
updated to not recalculate likelihoods when rewieghting to different …
nihargupte-ph Apr 3, 2023
b796778
updated to not recalculate likelihoods when rewieghting to different …
nihargupte-ph Apr 3, 2023
5350bf1
updated parameter transforms
nihargupte-ph Apr 6, 2023
caa02b0
updated synthetic phase to work for SEOBNRv4HM and sped up synthetic …
nihargupte-ph Apr 28, 2023
8bdbe34
merge main into eccentricity
nihargupte-ph Apr 28, 2023
c561766
changed name of convert parameters
nihargupte-ph Apr 29, 2023
86719fd
added a new flag to check for NANs in the psd generate
nihargupte-ph May 26, 2023
68496b2
removed sampling update and readded data_generation
nihargupte-ph May 26, 2023
7cdd7f8
updated to not step back waveform in synthetic phase, reflects new ch…
nihargupte-ph Jun 21, 2023
e8011f5
Implemented Basic Injections into Dingo Pipe
nihargupte-ph Jun 22, 2023
79f71fb
added support for random seed injections
nihargupte-ph Jun 22, 2023
bbb03b2
added random seed option and option to specify a trigger time to get …
nihargupte-ph Jun 22, 2023
f891e19
added option to change injection waveform approximant
nihargupte-ph Jun 22, 2023
61e76d7
formatting
nihargupte-ph Jun 22, 2023
1e908cb
fixed sampling frequency
nihargupte-ph Jun 22, 2023
f41b892
Merge remote-tracking branch 'origin/injection-dingo-pipe' into eccen…
nihargupte-ph Jun 24, 2023
57c10e5
merged nan-psd-fix
nihargupte-ph Jun 24, 2023
ee9882c
injection parameters None fix
nihargupte-ph Jun 24, 2023
b7138c8
Merge branch 'injection-dingo-pipe' of https://github.com/dingo-gw/di…
nihargupte-ph Jun 24, 2023
9e2d3a9
updated for waveform errors in synthetic phase
nihargupte-ph Jun 28, 2023
f44c76b
removed trigger time injection
nihargupte-ph Jul 6, 2023
8c342f9
updated to use new waveform branch
nihargupte-ph Jul 13, 2023
6fd7060
merge t_ref
nihargupte-ph Jul 13, 2023
1065c40
updated to include zero-noise injections
nihargupte-ph Jul 25, 2023
eddc30c
updated sampling to work with eccentricity
nihargupte-ph Sep 20, 2023
eb97468
updated for one detector networks
nihargupte-ph Feb 19, 2024
afa4cdb
plotting update
nihargupte-ph May 19, 2024
b688c17
merged into main
nihargupte-ph May 19, 2024
3ecb71d
added selection function and crieteria and hyperinjection class
nihargupte-ph May 30, 2024
24adcf3
merged parser
nihargupte-ph Jul 15, 2024
04b975d
stopped caching astropy directory
nihargupte-ph Jul 31, 2024
3311155
removed comment
nihargupte-ph Jul 31, 2024
b0467c2
resetting many files to main
nihargupte-ph Oct 8, 2024
8e3032b
reset more files to main and remove extra files
nihargupte-ph Oct 8, 2024
66169d6
Merge branch 'main' into eccentricity-clean
nihargupte-ph Oct 8, 2024
d743d70
changed nan likelihood evals to -np.inf likelihood
nihargupte-ph Oct 8, 2024
fb29d32
added documentation for modes
nihargupte-ph Oct 8, 2024
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
3 changes: 3 additions & 0 deletions dingo/core/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ def importance_sample(self, num_processes: int = 1, **likelihood_kwargs):
self.log_noise_evidence = self.likelihood.log_Zn
self.samples["log_prior"] = log_prior
self.samples.loc[valid_samples, "log_likelihood"] = log_likelihood
# where the likelihood is nan, we set the log_likelihood to -inf as it
# corresponds to an unphysical system
self.samples["log_likelihood"] = self.samples["log_likelihood"].fillna(-np.inf)
self._calculate_evidence()

def _calculate_evidence(self):
Expand Down
5 changes: 4 additions & 1 deletion dingo/gw/domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,9 @@ def __call__(self) -> np.ndarray:
0.0, self._time_duration, num=num_bins, endpoint=False, dtype=np.float32
)

def update(self):
raise NotImplementedError

@property
def delta_t(self) -> float:
"""The size of the time bins"""
Expand Down Expand Up @@ -599,7 +602,7 @@ def build_domain(settings: Dict) -> Domain:
kwargs = {k: v for k, v in settings.items() if k != "type"}
if settings["type"] in ["FrequencyDomain", "FD"]:
return FrequencyDomain(**kwargs)
elif settings["type"] == ["TimeDomain", "TD"]:
elif settings["type"] in ["TimeDomain", "TD"]:
return TimeDomain(**kwargs)
else:
raise NotImplementedError(f'Domain {settings["name"]} not implemented.')
Expand Down
Loading