Comments (7)
Hi, thanks for trying this out. Unfortunately, we couldn't turn this project into the default Python API for HepMC3, they have their own independent Python bindings. Therefore, I cannot offer much support. I don't see something that you did wrong at first glance, it looks like a bug in our library.
tl;dr: I do not have time to support this library at the moment, so if you are doing serious work, I would recommend the official HepMC3 Python API for now.
from pyhepmc.
Hi @HDembinski thank you very much for your reply.
I'm sadden to hear that, I was looking forward to having a python interface that wouldn't required installing HepMC...
All the best!
from pyhepmc.
@romanovzky For my curiosity, did you find a solution or did you switch to the official HepMC3 Python bindings?
from pyhepmc.
Hi @HDembinski neither to be honest. I was attempting this route to avoid having to use C++, but I just went on with it. I'm still very keen on a working python interface/wrapper, as almost all my work and workflow is strictly pythonic.
Also, I was bound to hepmc2 files, and the only hepmc3 seemed to have working python3 bindings?
from pyhepmc.
Thanks for the heads up. I think you can read the HepMC2 format with HepMC3.
from pyhepmc.
Now that you say that, I think I tried to use HepMC3 python bindings but had a similar issue. I can't recall the details as I was already not really convinced about the approach anymore. In any case, I did need to put together a FastJet routine, so using C++ was the obvious way. I just wanted to explore a python approach.
from pyhepmc.
I cannot reproduce this in the latest version, so hopefully updating will fix things for you.
from pyhepmc.
Related Issues (14)
- Time-like component of four vector apparently in wrong position HOT 1
- Is it deat or alive (or undead?) HOT 1
- fill_genevent_from_hepevt not adding particles HOT 2
- Set up a "hook" for Zenodo to mint DOIs HOT 2
- Add wrapper for Setup C++ class
- Simpler saving of visualizations
- pyiostream improvements
- Reading file using pyhepmc (pythia6_simple.dat) HOT 2
- Make pyhepmc.open wrappable
- Use `open` without `with` HOT 1
- Examples for writing data HOT 4
- Wrong visualization
- numpy is not listed as dependency HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyhepmc.