, luminosity_distance, **kwargs)[source]

A source model that reads a simulation from a text file.

This was originally intended for use with supernova simulations, but can be applied to any source class.

frequency_array: array-like


file_path: str

Path to the file containing the NR simulation. The format of this file should be readable by numpy.loadtxt and have four columns containing the real and imaginary components of the plus and cross polarizations.

luminosity_distance: float

The distance to the source in kpc, this scales the amplitude of the signal. The simulation is assumed to be at 10kpc.


extra keyword arguments, this should include the file_path


A dictionary containing the plus and cross components of the signal.