Giter VIP home page Giter VIP logo

climgal's Introduction

CLI Tool to transcode measurement data

Climgal (CommandLIne Measurement processinG AppLication) is an open source tool to read and write different types of data used by measurement soft- and hardware. The tool utilize the readerlib.

Build Status

Usage

Climgal - CommandLIne Measurement processinG AppLication

    Usage:
      climgal --file=<file> [--begin=<time>] [--end=<time>] [--resolution=<hz>] [--format=<format>]
      climgal (-h | --help)
      climgal --version

    Options:
      -h --help          Show this screen.
      --version          Show version.
      --file=<file>      Input file (Supported Formats: .meta, .grim, .dlog, .psi, .csv, .xml)
      --begin=<time>     Output only data after the begin time (in seconds) [default: 0.0]
      --end=<time>       Output only data befor the end time (in seconds). If end < begin, ignore end [default: -1.0]
      --resolution=<hz>  Resolution in Hz. If resolution <= 0, ignore it [default: -1]
      --format=<format>  Output format (Supported Formats: csv, xml, dlog, svg). [default: xml]

If a source format doesn't support out of the box a fixed resolution, a resolution needs to be given. The tool outputs the new measurement via standard output which allows easy handling with other tools.

How to build

git clone --recursive https://github.com/MeasureTools/climgal.git climgal
cd climgal
mkdir build
cd build
cmake ..
make

How to use example

climgal --file=example.csv --begin=10 --end=20 --resolution=1 --format=dlog > output.dlog

In this example, the measurement example.csv is our source. Only samples between 10s (begin) and 20s (end) are used to write the new measurement data. Also the resolution is set to 1Hz. If the source measurement has a higher or lower resolution, the data is resampled according to the new samplerate. As output format dlog was chosen which is a format used by Keysight. Finally the new measurement data is saved to the file output.dlog.

License

This project is licensed under a modified BSD 1-Clause License with an additional non-military use clause - see the LICENSE file for details.

Acknowledgments

climgal's People

Contributors

dadie avatar

Stargazers

Andrew Johnson avatar

Watchers

James Cloos avatar  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.