Skip to content

Return same values when running recursively #5

@DavidRRice

Description

@DavidRRice

I'm looping through alpha values to test the amount of peaks each finds, and I get the same output every time. I get different values if I run each alpha individually.

for i in [0.06,0.055,0.05,0.04]:#np.arange(0.07,0.05,-0.002):
data = np.msort(np.array(analysisuncomp).flatten())
print(i)
print(UniDip(data,alpha=i,ntrials=500).run())

Output:
0.06
[(6, 127), (135, 181), (196, 313), (370, 5683), (5685, 10540), (10545, 30064)]
0.055
[(6, 127), (135, 181), (196, 313), (370, 5683), (5685, 10540), (10545, 30064)]
0.05
[(6, 127), (135, 181), (196, 313), (370, 5683), (5685, 10540), (10545, 30064)]
0.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions