Skip to content

SEDS-Software/colossus_remapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

colossus_remapper

This uses the config file to remap over certain columns in the data csv given

EX: if you had data.csv and you wanted to remap all values with the header PT-N2-220 from volts to PSI with this mapping (data - .5) * 700 PSI you would change one of the config lines to say PT-N2-220,700,-0.5,PSI.

You put in each row of the config file the header, the scale, the offset applied before the scaling and then finally the unit.

Usage

Place the csv file in the directory, edit the config.csv file to your what you need

python remapper.py your_data.csv

Requirements

numpy and pandas pip install numpy pandas

Make changes on this repo

Clone this github repo then make your changes

git add all changed files

git commit -m "a message about the changes"

git push

Then on any device that you are using the server on

git pull

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages