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.
- Put the .dat file that you want split into the /data/ folder.
- Go into the script (line 11) and change "YOUR_FILE.dat" to your data file name.
- Run the script.
- Check the /results/ folder for your new data files.
This script requires a .dat file placed into the /data/ directory.
This script will create files for each sample measured in a .dat file. The output will write to the /results/ folder.
This script was made specifically for files produced by the CryoPC3 magnetometer control software, but it may work with other softwares as well.
This script is published under the MIT license.