Skip to content
Snippets Groups Projects
Commit cef444d0 authored by Colm Talbot's avatar Colm Talbot
Browse files

make principal components kwargs

parent 66587002
No related branches found
No related tags found
1 merge request!71Burst
......@@ -146,10 +146,13 @@ def supernova(
def supernova_pca_model(
frequency_array, realPCs, imagPCs, pc_coeff1, pc_coeff2, pc_coeff3,
pc_coeff4, pc_coeff5, luminosity_distance, ra, dec, geocent_time, psi):
frequency_array, pc_coeff1, pc_coeff2, pc_coeff3, pc_coeff4, pc_coeff5,
luminosity_distance, ra, dec, geocent_time, psi, **kwargs):
""" Supernova signal model """
realPCs = kwargs['realPCs']
imagPCs = kwargs['imagPCs']
pc1 = realPCs[:, 0] + 1.0j*imagPCs[:, 0]
pc2 = realPCs[:, 1] + 1.0j*imagPCs[:, 1]
pc3 = realPCs[:, 2] + 1.0j*imagPCs[:, 2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment