Python script for data analysis - code modification and step-by-step instructions

I am conducting an analysis called “Lempel Ziv complexity” (LZ), on neurological data. My data files are made up of an array of numbers, where each column is a sample (time) and each row is a channel (input location).

I want to use this Python script (written by another researcher):

[login to view URL] 

I want to execute the LZc and LZs functions on each of my data files and output/save the results, for further statistical analysis.

The code will need some modification, as I believe it is designed to operate on a single “epoch” (time range). My data files are made up of multiple epochs, each epoch being 1001 samples (columns). So the LZ function will need to start again after 1001 columns, and output/save the LZ result for each epoch.

The LZc function should output one result for each epoch, so each data file should produce a linear set of LZc results (one for each epoch).

The LZs function will output a result for each channel (row), so each data file should produce a matrix of LZs results (one for each channel for each epoch).

The updated Py script should be provided, once it has been tested and verified on the sample data file I have uploaded

Further, I have not worked with Python before. So once the code has been modified, I need simple step-by-step instructions on how to:

- setup iPython (or other) to import/handle the data

- import the data files

- load the script

- execute the functions LZc and LZs (and any other functions necessary)

- copy/save the results

- any other necessary operations

Kemahiran: Python, Data Analysis

Lihat lagi: python script data extraction csv, python script data website, python script data site, python script example linux, useful python scripts, python run another python script and get output, python script output to file, python data analysis example, run python script from python shell, how to run python script on server, python script example, Convert Python Script to PHP code , python for data analysis tutorial, how long to learn python for data analysis, python for data analysis course, python for data analysis amazon, python for data analysis 2nd edition pdf, python for data analysis 2nd edition free pdf, python for data analysis 2nd edition wes mckinney pdf, python for data analysis 2017 pdf

Tentang Majikan:
( 3 ulasan ) Bogangar, Australia

ID Projek: #27887260

4 pekerja bebas membida secara purata $28 untuk pekerjaan ini


Hi, Dear. Your project is attracting my mind since I have some experiences and some skills on your project. If given a chance, I am highly confident in my ability to deliver the highest quality. I look forward to hea Lagi

$20 AUD dalam 7 hari
(2 Ulasan)

A team of 12 Data Scientists, working together with industry professionals to solve professional problems and provide successful results. We are currently working full time under the situation of COVID-19. We have work Lagi

$40 AUD dalam 7 hari
(4 Ulasan)

Hi There, Running your existing script for multiple epochs rather than single can easily be done using Python. All we need to do is load data into DataFrame and then call functions for epochs and save result accordingl Lagi

$30 AUD dalam 3 hari
(0 Ulasan)

I am an expert python programmer with an experience of more than 5 years. Therefore, I can aptly undertake your work. For more details, contact me.

$20 AUD dalam 4 hari
(0 Ulasan)