pymad / cpymad

cPyMAD is a python interface to Mad-X using cython and libmadx
http://cern.ch/pymad
Apache License 2.0
3 stars 3 forks source link

Can a Manual or Tutorial be available for cpymad and madgui? #94

Closed Landau1908 closed 9 years ago

Landau1908 commented 9 years ago

Hi, Thomas

Is there a Manual of cpymad and madgui available? I want to learn cpymad and madgui deeply.

Best regards!

coldfix commented 9 years ago

Hey,

thanks for your continued interest in this package. There is no tutorial/manual available, nor will there be until the application is more complete. If you have specific questions, you can just ask.

I forked cpymad to cut away the parts that I don't need and refactor the API according to my ideas. To use MadGUI you will need that version, and for related questions you should now probably use the issue tracker over there.

There is some points I want to stress, just so you don't have false intuitions / too high expectations about these packages

If you can tell me what tasks specifically you intend to get done with MadGUI, I can maybe tell you, if that is currently possible or at least part of the planned feature set.

Best regards, Thomas

Landau1908 commented 9 years ago

Your comments have great help to me.

I want to simulate a storage ring and a transfer line. What I want to do really is to match a wanted beam spot at a fixed position by adjusting a few magnets.

B.T.W., Why did you fork cpymad according to your ideas instead maintaining and developing CERN cpymad exsited?

coldfix commented 9 years ago

Hey,

I want to simulate a storage ring and a transfer line. What I want to do really is to match a wanted beam spot at a fixed position by adjusting a few magnets.

This should already be possible in MadGUI. Do you have problems installing/starting the application, or is your problem rather with the clumsy UI? I will hopefully be able to slightly improve on the latter soon. As for the former: Installing my forked cpymad dependency should be quite easy at this point. Just type in your terminal pip install cpymad and it will hopefully work (on python2.7 and python3.4).

B.T.W., Why did you fork cpymad according to your ideas instead maintaining and developing CERN cpymad exsited?

In short: because it is easier for me to change the code on my fork without having to care about other people's requirements that don't apply for me. Just to state one example, at CERN python2.6 is still in use, which I find slightly inconvenient to support.

Landau1908 commented 9 years ago

Thanks very much!

I will try to install your forked cpymad and your MadGUI in the next days.

Meanwhile, I plan to learn more about python for deeply understanding cpymad and MadGUI .