File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -262,9 +262,15 @@ total_time = abs(all_segments)
262262# do pruning (removal of trigs at N loudest times defined over param bins)
263263if args .prune_param :
264264 logging .info ('Getting min and max param values' )
265- pars = triggers .get_param (args .prune_param , args ,
266- templatef ['mass1' ][:], templatef ['mass2' ][:],
267- templatef ['spin1z' ][:], templatef ['spin2z' ][:])
265+ if not args .eccentricity_flag :
266+ pars = triggers .get_param (args .prune_param , args ,
267+ templatef ['mass1' ][:], templatef ['mass2' ][:],
268+ templatef ['spin1z' ][:], templatef ['spin2z' ][:])
269+ if args .eccentricity_flag :
270+ pars = triggers .get_param_eccentric (args .prune_param , args ,
271+ templatef ['mass1' ][:], templatef ['mass2' ][:],
272+ templatef ['spin1z' ][:], templatef ['spin2z' ][:],
273+ templatef ['eccentricity' ][:])
268274 minpar = min (pars )
269275 maxpar = max (pars )
270276 del pars
You can’t perform that action at this time.
0 commit comments