Giter Site home page Giter Site logo

rem_500_mca's Introduction

REM_500_MCA

Python interface with REM 500 Neutron Survey Meter MCA through RS-232 serial port

Requirements

  • Retrieves data from the REM 500 Neutron Survey Meter in MCA mode through a RS-232 serial connection.

  • The REM 500 needs to be in MCA mode before launching the script read_MCA.py.

Step by step use

  1. Put the REM 500 Neutron Survey Meter in MCA mode:
  • Push the ON/OFF button
  • Push the MODE button
  • Push the RESET button twice (which correspond to NEXT in this menu)
  • Push the ALT button to access the MCA mode
  1. Change the runtime or the commands you want to send to the REM 500 directly in the file read_MCA.py

  2. Run the read_MCA.py script (as administrator on linux to access the ttyUSB0 interface):

sudo python3 read_MCA.py

  1. Two output files are generated:
  • count_data.txt contains timestamps and the number of counts in hex format
  • channel_data.txt contains the number of counts in each of the 256 channels

Run the data_extraction.py script:

python3 data_extraction.py

It creates a CSV file from the count_data.txt file containing the timestamps converted in seconds and the number of counts converted from hex format. It also generates a plot of the number of counts as a function of time from the count_data.txt file, and it plots the number of counts in each channel from the channel_data.txt file

rem_500_mca's People

Contributors

lborrel avatar

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.