Introduction

Quick Overview

Getting started

Release Notes

Processing signals of CSV files

Processing signals of CSV files

Processing Signals from CSV Files

After loading a .csv file into Twin Fabrica using the CSV File Converter, the second panel offers basic signal processing tools. Here you can trim and downsample your data before converting it to a .mat file—perfect for cleaning up large datasets and preparing relevant portions for your project.

Note that while Twin Fabrica handles basic processing, you should perform any advanced operations using external tools before importing.

Available Signal Processing Options

The import tool's second panel features three main processing options:

  1. Set starting sample – to exclude initial data points
  2. Set ending sample – to remove trailing or unnecessary data
  3. Set downsampling factor – to reduce the number of data points and decrease file size

As you adjust these settings, the data preview updates in real time to show your changes.

1. Set the Starting Sample

To focus on a specific segment, enter a starting sample index in the input field.

This index determines the first data point that will appear in your exported .mat file.

When you enter a new start value, a dashed red area appears on the left side of the preview chart, showing which portion will be excluded from the beginning.

2. Set the Ending Sample

Similarly, set an ending sample index to specify the final data point for your export.

This helps remove unnecessary trailing data.

A dashed red area on the right side of the preview chart shows which portion will be excluded from the end.

3. Apply a Downsampling Factor

The downsampling factor lets you reduce data density by keeping only every n-th sample.

This is particularly useful when handling large, dense datasets that would otherwise be difficult to process.

⚠️ Note: A high downsampling factor can result in a loss of important signal details. Choose a value that balances performance and signal fidelity.

When you apply downsampling, dots appear on the waveform preview, showing which samples will be retained. All points between these dots will be discarded in the final export.