Skip to content

Slow waveform evalution #34

@Joshuaalbert

Description

@Joshuaalbert

We have profiled some parts of this library and find that these two lines are inefficient:

transition_freqs = phP_get_transition_frequencies(
        theta_intrinsic, coeffs[5], coeffs[6], chip
    )

hPhenomDs, phi_IIb = PhenomPOneFrequency(
        fs, m2, m1, chi2_l, chi1_l, chip, phic, M, dist_mpc, coeffs, transition_freqs
    )

There is an interp that uses searchsorted, and also also [argmin] indexing that can be sped up.
Also,
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions