Cython binding to MAD-X
Project description
cpymad is a Cython binding to MAD-X (MAD-X source).
This version of cpymad should be built against MAD-X 5.04.00.
cpymad is NOT maintained by CERN members and links against an unofficial build of MAD-X that is not supported by CERN, i.e. this binary may have problems that the official binary does not have and vice versa. See also: Reporting issues.
Links
License
White the cpymad source code itself is under free license, the MAD-X software package is NOT FREE. For more details, see COPYING.rst.
Reporting issues
If you have a problem with a sequence file, first try to check if that problem remains when using the MAD-X command line client distributed by CERN, then:
Report the issue to CERN only if it can be reproduced with their official command line client.
Report the issue here only if it can not be reproduced with their official command line client.
For issues regarding the cpymad code itself or usage information, I’m happy to answer. Just keep in mind to be precise, specific, concise and provide all the necessary information.
Changelog
0.19.1
Date: 02.04.2018
pass unescaped (raw) string arguments to MAD-X
use double-quotes by default
overload Madx.evaluate for floats and lists (making it applicable for anything that may be returned in the property)
windows builds link against MAD-X 49b4e7fee “Fix incorrect field errors in tmbend with INTERPOLATE”. This is a few minor bugfixes after 5.04.00.
0.19.0
Date: 25.03.2018
- command/element etc:
retrieve information about commands from MAD-X defined_commands and store in Command instances.
use Command to improve command string generation and type-checks in util.mad_command (#9)
quote filename parameters when composing command string
use deferred expressions (:=) whenever passing strings to non-string parameters (#11)
subclass elements, beam from Command
support attribute access for table/mappings/commands/elements/beams etc
allow case-insensitive access
overload index-access in tables to retrieve rows
implement Element.__delitem__ by setting value to default
return name for global elements too
add Madx.base_types data variable that yields the base elements
add Element.parent/base_type attributes
more concise string representations
strip -Proxy suffix from class names
apply user defined row/column selections even when no output file is specified
- installation:
automatically use -lquadmath
add --static flag for setup script, use --shared by default
no more need to link against PTC shared object separately
finally provide some binary wheels for py 3.5 and 3.6 (#32)
raise cython language_level to 3
require MAD-X 5.04.00
0.18.2
Date: 05.12.2017
fix order of weight command in Madx.match
Older versions
The full changelog is available online in CHANGES.rst.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for cpymad-0.19.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da570b49de37ca380ddb86d662af43db8efc10cf47ac54adef27d64c9a27f8d |
|
MD5 | 4a1976d6c24a3e484f5446e05f05e822 |
|
BLAKE2b-256 | 0a266b7e74f9ba08d20ba2b9f87a3f79ffe9e4459545e4084db1efe3df4a2b4a |
Hashes for cpymad-0.19.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58e27c8d2b31d280d08c9a80768cebf93968e4695b0573fd8e5ba532b0fac0a8 |
|
MD5 | 0982f1af226eeb661bc4dee7afde0a2d |
|
BLAKE2b-256 | 20544e84760e4571570650a9da7c7aa54de86b6e8a9f87c201e3c9427ac550ac |
Hashes for cpymad-0.19.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d931db195436a10a040c3cef65aa4e4119810630d38d983d9d0cd14b41020ace |
|
MD5 | 959e4aad820cc3d03a119aed6acc5bba |
|
BLAKE2b-256 | a1fe6181dc585201c7627f950d3a46a127808b7ef6a16c42ac97d0a6fed28249 |
Hashes for cpymad-0.19.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75df340e6033bae6013aa09e622fe3bf957842aa724fd12b5afe861ef607ba48 |
|
MD5 | e7b4bf14d34832001bf58431f1512167 |
|
BLAKE2b-256 | 3b490074c5b4baab3a132fd100f3f01c89ebe3f9ba2cde72a9043f651e1b6c7c |
Hashes for cpymad-0.19.1-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fafa9e145dedd1d1c7171427a4556adcb1cb17736132ca36a9de22055d9a4f47 |
|
MD5 | 66df450367414952553f3ef313480c24 |
|
BLAKE2b-256 | 318675690233e531862269bac14c8f4f03b8d1a5423848e6a5373531dbd561cb |
Hashes for cpymad-0.19.1-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a09a4828fc9b7e9c80be20488cb2b1551348b0b9810f2877bf68325139677bb |
|
MD5 | f8010bf0a1391f154ed409adeb4838f8 |
|
BLAKE2b-256 | 4edb53814932cc867eccc9d34310c2cd46c25ea867035a278d87c130f77723cd |
Hashes for cpymad-0.19.1-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d4cde0724bfad112b1505286a745c59718791b03bb6e8c42da28133e2bdade1 |
|
MD5 | 7a445017e87fac8e74393ed30e52275e |
|
BLAKE2b-256 | c55a39ce148a94ccf28b1a7c4a0120d7938d7728e052ead3c6d0a6fe528e7866 |
Hashes for cpymad-0.19.1-cp33-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a48695ec28fcab97b814bfad11914c1ea59d03d5a4317b544a56301ef02683 |
|
MD5 | 6f1c7044a9ef8987ee1ba66832014437 |
|
BLAKE2b-256 | e008ff4fea87b7eff9994b4b6a87e97cc04fd9650d7c6b99bd2cd9b3748fbf47 |
Hashes for cpymad-0.19.1-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41343e194e60f049676eefd8d20c9bcb1796ddf41da74561919304bea83bc113 |
|
MD5 | 686dc9a0c8308f5d9db9ac2fbb49da31 |
|
BLAKE2b-256 | eccc27571dbbe3165783a0b14f1cd218b2575e28f77d6a7ad76baa351ffe50a0 |
Hashes for cpymad-0.19.1-cp27-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4172ebf5e459538ca89e73477f5c597f729252fbf89d84dabfcb810f215d546e |
|
MD5 | 44a0152227adce8283e4b364cae2a319 |
|
BLAKE2b-256 | 0e4ae79c034159529e5cb941c5bebe3c5f7d6dd12efb3430df8c38c8a043cd6b |