Commit 328fe1a2 authored by Sulfyderz's avatar Sulfyderz
Browse files

[Error Update]:Correcting the FRFA method from diar_tools.

parent d251222f
......@@ -1762,8 +1762,8 @@ def FRFA(diarHyp,diarRef,diarUem=None,tolerance=25,cluster="fillFRFA"):
minF=min([min(diarRef.unique('start')),min(diarHyp.unique('start'))])
diarFill=Diar()
diarFill.append(start=minF,stop=maxF)
diarRef=DiarTools.fillDiar(cluster,diarFill,diarRef)
diarHyp=DiarTools.fillDiar(cluster,diarFill,diarHyp)
diarRef=fillDiar(cluster,diarFill,diarRef)
diarHyp=fillDiar(cluster,diarFill,diarHyp)
reference = pyacore.Timeline()
for i in diarRef:
reference.add(pyacore.Segment(i['start']/100, i['stop']/100))
......
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