Giter Club home page Giter Club logo

cambio's Introduction

Cambio

Cambio converts spectrum files from nearly all common handheld and lab-based spectroscopic gamma radiation detectors, radiation portal monitors, or search systems to a format of your choice (N42, PCF, CSV, TXT, CHN, SPC, HTML, and more).

Cambio can be built either as a GUI that allows previewing the spectrum files, editing the meta-data, and interactively choosing the output format options, or Cambio can be built as a command line only utility. The command line utility is useful for calling from batch scripts, or calling from other programs to take care of reading the hundreds of potential formats, making it so your program only needs to read in a single format.

Getting Started

To get a pre-compiled executable, head over to the releases tab, or to download historical version of the app see: https://hekili.ca.sandia.gov/CAMBIO/.

Building from source

Prerequisites

To compile, you need a c++11 compiler, and:

  • boost versions 1.44 through 1.65.1 will probably work, but development is done using 1.65.1.
  • To compile the GUI, you will need Qt.
    Qt is not needed for the command line only version. Development is done using Qt 5.11 and 5.12.
  • cmake
  • SpecUtils

Compiling

On Linux and macOS:

git clone https://github.com/sandialabs/cambio
cd cambio
git clone https://github.com/sandialabs/SpecUtils

#build GUI version
mkdir build_gui
cd build_gui
cmake -DBUILD_CAMBIO_GUI=ON -DMyQT_DIR=/path/to/qt -DBOOST_ROOT=/path/to/boost ..
make -j8

#build command line only version
cd ..
mkdir build_cl
cd build_cl
cmake -DBUILD_CAMBIO_COMMAND_LINE=ON -DBUILD_CAMBIO_GUI=OFF -DBOOST_ROOT=/path/to/boost ..
make -j8

And on Windows an analogous process can be used to generate Visual Studio project with the CMake GUI. Currently CMakeLists.txt is hardcoded to link to the static runtime on Windows, and statically compiled Qt.

Installing

No installation is necessary - simple download or build the executable and run it.

Author

William Johnson

License

This project is licensed under the LGPL v2.1 License - see the LICENSE file for details

Copyright

Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

Privacy Policy

Cambio does not collect any user information or statistics, and it does not send or receive any information over the network (e.g., nothing is downloaded to, or leaves from your computer).

SCR #988

cambio's People

Contributors

wcjohns 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.