Skip to content
Snippets Groups Projects
Commit 8f48d2d5 authored by Leo Tsukada's avatar Leo Tsukada
Browse files

far.py : swap the fill_range at the boundaries of the interpolated

rank_from_far
parent e98b8cfc
No related branches found
No related tags found
No related merge requests found
Pipeline #697644 passed with warnings
......@@ -989,7 +989,7 @@ class FAPFAR(object):
# build interpolator.
self.ccdf_interpolator = interpolate.interp1d(ranks, ccdf)
self.rank_from_far_interpolator = interpolate.interp1d(numpy.log(self.far_from_rank(ranks)), ranks, bounds_error=False, fill_value=(self.minrank, self.maxrank))
self.rank_from_far_interpolator = interpolate.interp1d(numpy.log(self.far_from_rank(ranks)), ranks, bounds_error=False, fill_value=(self.maxrank, self.minrank))
@gstlalstats.assert_probability
def ccdf_from_rank(self, rank):
......
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