Coder Social home page Coder Social logo

katiebristol / data_splitter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.74 MB

A basic Python script to split a .dat file into individual sample files.

License: MIT License

Python 100.00%
converter data-converter data-splitting paleomagnetism python

data_splitter's Introduction

Data Splitter

License: MIT

Purpose

This script was created to split a .dat file into separate sample files to cut down on data processing time. The result is individual sample files that are space-delimited.

Demo data.

How to use

  1. Put the .dat file that you want split into the /data/ folder.
  2. Go into the script (line 11) and change "YOUR_FILE.dat" to your data file name.
  3. Run the script.
  4. Check the /results/ folder for your new data files.

Inputs

This script requires a .dat file placed into the /data/ directory.

Outputs

This script will create files for each sample measured in a .dat file. The output will write to the /results/ folder.

Notes

This script was made specifically for files produced by the CryoPC3 magnetometer control software, but it may work with other softwares as well.

License

This script is published under the MIT license.

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.