Commit e7517bb4 authored by Vivien Raymond's avatar Vivien Raymond
Browse files

LALInferenceTemplate last update to accomodate SpinTaylorFrameless switch to hPlus hCross

Original: 0232ec6605bcb208cc570a9502707cf89a33bba4
parent c4982856
......@@ -1624,12 +1624,12 @@ void templateLALGenerateInspiral(LALIFOData *IFOdata)
}
}else if(waveform.h){
for (i=0; i<IFOdata->timeData->data->length; i++){
if((i+1)>=((int)((waveform.h->data->length)/2.0) - 1)){
if((i+1)>=((int)(waveform.h->data->length) - 1)){
IFOdata->timeModelhPlus->data->data[i] = 0;
IFOdata->timeModelhCross->data->data[i] = 0;
}else{
IFOdata->timeModelhPlus->data->data[i] = waveform.h->data->data[i];
IFOdata->timeModelhCross->data->data[i] = waveform.h->data->data[i+(int)((waveform.h->data->length)/2.0)];
IFOdata->timeModelhCross->data->data[i] = waveform.h->data->data[i+(int)(waveform.h->data->length)];
}
}
}else{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment