• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. linear fit of simulation results

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 17643
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

linear fit of simulation results

olalivier
olalivier over 8 years ago
In ADE I extract some parameters from a waveform (time elapsed from rising to falling edge on some kind of TOT) on a parametric simulation. I plot the result but I would like to get a linear fit of this curve plus residuals. I can't find a way to do that with in the calc. Can you please tell me if that fonction exists. Thank you very much Olivier
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    There's nothing built-in currently, although it wouldn't be too hard to write a function that performed linear regression on the points in the curve and produced a best-fit line using a least-squares method. You could then subtract this from the original curve to get the residuals. I'd write it myself but don't really have time right now to knock something together.

    There is an existing enhancement CCR, 57477, which is for doing a polynomial fit in the calculator, but that's not been implemented yet (it's a long-standing low-priority enhancement request with only 2 requests over 13 years, so not that likely to get implemented any time soon).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    There's nothing built-in currently, although it wouldn't be too hard to write a function that performed linear regression on the points in the curve and produced a best-fit line using a least-squares method. You could then subtract this from the original curve to get the residuals. I'd write it myself but don't really have time right now to knock something together.

    There is an existing enhancement CCR, 57477, which is for doing a polynomial fit in the calculator, but that's not been implemented yet (it's a long-standing low-priority enhancement request with only 2 requests over 13 years, so not that likely to get implemented any time soon).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information