diff --git a/examples/other_examples/alternative_likelihoods.py b/examples/other_examples/alternative_likelihoods.py index 1b6c0b9f120bd32d1d8bd32884683fa57c5b5238..329f9f339053ad67bc598a8cb83be0e169ab6f2a 100644 --- a/examples/other_examples/alternative_likelihoods.py +++ b/examples/other_examples/alternative_likelihoods.py @@ -20,7 +20,7 @@ outdir = 'outdir' # use of the `tupak` waveform_generator to make the signal (more on this later) # But, one could make this work without the waveform generator. -class GaussianGravitationalWaveTransient(): +class GaussianLikelihood(): def __init__(self, x, y, waveform_generator): self.x = x self.y = y @@ -76,7 +76,7 @@ waveform_generator = tupak.waveform_generator.WaveformGenerator(time_duration=ti # Now lets instantiate a version of out GravitationalWaveTransient, giving it the time, data # and waveform_generator -likelihood = GaussianGravitationalWaveTransient(time, data, waveform_generator) +likelihood = GaussianLikelihood(time, data, waveform_generator) # From hereon, the syntax is exactly equivalent to other tupak examples # We make a prior