Skip to content

1f Noise generation deadlocked #7

@R0ckySu

Description

@R0ckySu

1f noise generation takes unusually long time for finishing FFT(for a 500000*1 vector, Matlab takes less than 1s, but DM_solver takes minutes long without finishing).

Guessing it might be originated from irregular size of the vector we put in to FFT

Temporary solution:

makes the length of vector be the multiple of 10

	int add_on_steps = floor(std::abs(tmp(generator))/10) * 10;
	new_steps += add_on_steps;

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