Coder Social home page Coder Social logo

Comments (3)

coldfix avatar coldfix commented on July 29, 2024

This usually occurs, because MAD-X is extremely buggy and might not be cpymad related at all. Did you check if your file works when used with plain MAD-X, i.e.:

madx_dev < HITFIL.madx

If this crashes too — don't ask me, ask the MAD-X folk.

Also: you didn't post HITFIL.madx which is exactly where the error happens (but only post minimal example!).

In the future, please provide all the necessary files so I can reproduce your error locally. If you want to be helped you should try to make it as easy as possible to help you. Don't require others to pull every piece of information out of you. It's not their job to try to guess what's on your mind. In general: be more thoughtful before asking others.

Please read How to Report Bugs Effectively and Eric Raymonds How To Ask Questions The Smart Way before posting further issues.

from cpymad.

Landau1908 avatar Landau1908 commented on July 29, 2024

Hi,

Sorry for this.

While commented the line, the program works well. Why?

twiss = madx.twiss(sequence='RING', betx=0.1, bety=0.1, alfx=0.1, alfy=0.1)

another question:
How to plot 3 lines(e.g. betx, bety, dx) on a figure?

from cpymad.

coldfix avatar coldfix commented on July 29, 2024

Ok, obviously. You are just trying to troll me. If not, please read my last post.

from cpymad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.