Skip to content

GaussianOverR object has no attribute createpeak #65

Closed

Description

@stevenhua0320

When running terminationripples, it raises error
ideal_peaks = Peaks([pf1.createpeak(p, "pwa") for p in pars])
^^^^^^^^^^^^^^
AttributeError: 'GaussianOverR' object has no attribute 'createpeak'

Activity

  1. Ainamacar commented on Aug 14, 2024

    @Ainamacar
    Contributor

    I believe all calls to createpeak() should be replaced by calls to actualize() . They all occur in very, very old tests that I evidently stopped running before this name change. (No doubt, this was sloppy of me.) The files are:

    • baselines/base.py
    • peaks/terminationripples.py
    • peaks/gaussian.py
    • peaks/gaussianoverr.py

    Note that throughout the code, all test code in blocks like if __name__ == '__main__': are not vital to the functioning of SrMise itself. In the end most of these should probably be removed as proper tests are written.

  2. stevenhua0320 commented on Sep 4, 2024

    @stevenhua0320
    ContributorAuthor

    Closed by PR #72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions