GithubHelp home page GithubHelp logo

diana-hep / c2numpy Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 5.0 367 KB

Pure-header, no dependency C/C++ code to write Numpy files (.npy)

License: Apache License 2.0

C 1.20% C++ 18.13% Python 3.83% Jupyter Notebook 76.84%

c2numpy's People

Contributors

jpivarski avatar vkuznet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c2numpy's Issues

Issue with headers size in C-version of the tool

I found empirically that if I increase headers size from O(10) level to O(100) level I get seg. fault during event generation. As we discussed with Jim it can be a problem with buffer limitation on a header or with building a list of column names. Using introduce-cpp-to-fix-column-names-bug branch the problem went away.

Provide C++ interface

We'd like to use c2numpy tool within CMSSW C++ framework. Other HEP experiments may have similar requirements. Therefore it would be nice to have a C++ c2numpy interface/APIs.

There is no sstream in C

Since commit 134c49f it seems impossible to use the library with C.

$ gcc test.c
In file included from test.c:2:0:
c2numpy.h:23:19: fatal error: sstream: No such file or directory
compilation terminated.

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.