GithubHelp home page GithubHelp logo

tlangfor / caenreader Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 17 KB

A set of tools to read and process binary data produced by CAEN waveform digitizers.

Home Page: https://tlangfor.github.io/CAENReader/

License: MIT License

Python 100.00%
waveform digitizer caen

caenreader's Introduction

About me

I'm a Research Computing Facilitator and recovering academic at the Yale Center for Research Computing. Coming from the data-intensive field of nuclear and particle physics I have an interest in helping researchers wrangle their computing needs.

I spent 15 years working on developing instrumentation to detect interactions from neutrons and neutrinos. After building these detectors I found myself needing software tools to collect, manage, simulate, and analyze large volumes of data. This lead me to working on a variety of HPC systems, mainly in a high-throughput mode of parallel computing.

After getting a taste of HPC, I got pulled into the world of research support, first for my colleagues and then as a part-time member of YCRC. I discovered that I really enjoyed helping people learn about HPC, and in early 2022 took the leap to join YCRC full-time.

Since becoming a full-time RCF I have taken a deep dive into tightly coupled parallel workflows and applying an experimentalist mentality to cluster benchmarking and node profiling. I currently help maintain YCRC's largest cluster, Grace, which hosts all our MPI-based workflows.

caenreader's People

Contributors

tlangfor avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tsangares piovere

caenreader's Issues

Read fails when WaveDump is not saving headers

WaveDump alters the default data format in two ways. First, the traces are split into individual files, named wave#.dat. Then there is a user-defined option to include the event header, which is also in a different format (6 long words instead of 4, and different layout) from the default in the manual.

We will need to think about how best to alter the scope of this package to adapt to these quirks.

16ch compatibility

getNextTrigger fails to accurately handle triggers with channels 8-15 in use on x725 boards.

failed attempt #1

I followed the instructions to extract the trigger:

dataFile = CAENReader.DataFile('waves.dat')
trigger = dataFile.getNextTrigger()
trigger.display()

But on the first step I get the following error:

name 'CAENReader' is not defined

I ensured that the .py file was in the same directory as I was in the terminal. I don't know what else could cause this error.

Trigger Time Stamp

Hi, I wrote a similar soft but in C++ (check it here)
I found it smart you have added the trigger time from the beginning of the file of an event. However, I see that your time from the beginning of the file (in us) is calculated by multiplying the trigger time tag (triggerTime member) by the value of 8e-3. But it is not correct for all CAEN digitizers. For example, for the 724 series it must be 10e-3, and for 742 series it must be 8.5e-3. At least according to the WaveDump manual. However, it would be better to refer to the board documentation. The same is for the rollover value that you use: it is not 231 for all CAEN digitizers.

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.