Git Product home page Git Product logo

csv2spe's Introduction

Convert csv spectra file generated by Shimadzu EDX 720/800HS to spe (for axil/qxas and winqxas)

This is a fortran 77 (for while) code and was developed by Americo Kerr (professor at Universidade de Sao Paulo). It records the head of .spe file the all information provided by EDX as energy, filter, current, time. After that, the number of counts by channel.

How to use this code

First, compile the code using a fortran 77 compiler (windows, linux or mac):

gfortran main.f -o main.exe

Convert one file

Run the main.exe file and answer the questions.

./main.exe
Do you have a file with file names? N
Write the path and name of the csv file: test_data/single/example.csv
Do you want convert more files? N

A test_data/single/example.spe should be created.

NEED REVIEW Convert multiple files (until 500 files)

Create a file with all files names:

cd myfolder
ls *.csv > list.txt    # linux
dir *.csv/b > list.txt # Windows

How to export csv file in shimadzu:

  1. Close all windows from Shimadzu software
  2. Open EXTRA option
  3. In EXTRAS, select "file maintenance" option
  4. In left side, select the files
  5. In right side, select the output folder
  6. Select "options" and mark all available options there
  7. Select convert buttom

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.