GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - proenza-lab/Axon-Text-File: Python module for common tasks involving the Axon Text File format from Molecular Devices

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
axon_text.py
axon_text.py
 
 
data.atf
data.atf
 
 
test_axon_text.py
test_axon_text.py
 
 

Repository files navigation

Axon-Text-File

Python module for common tasks involving the Axon Text File format (ATF) from Molecular Devices

The ATF format module provides very basic Python functions for the reading, writing, and merging of Axon Text Files from Molecular Devices. For reasons of memory-efficiency and compatibility with different experimental setups, the information is stored in a single NumPy array with subarrays representing the format-specific records - individual data is represented as strings by default. If you know that your data records are exclusively numerical, you can easily change the dtype parameters for np.genfromtxt and np.savetxt to a numerical representation (see in-line comments) for futher calculations.

The ATF format unittest module was the basis for the test-driven development (TDD) process.

Usage

Save the ATF format module file in the same folder as your main code and import its functions:

import atf_text

Then you can then call the three functions provided by the ATF format module:

# read an ATF file into a NumPy array
axon_data = axon_text.read(in_file='data.atf')

# write a NumPy array into a file
axon_text.write(out_file='copy.atf', out_atf=axon_data)

# merge two NumPy arrays into a single NumPy array
axon_merge = axon_text.merge(in_atf_1=axon_data, in_atf_2=axon_data)

Software requirements

If you want to use the ATF format module you'll need recent versions of Python and NumPy. The latest Windows version of NumPy can be downloaded from Christoph Gohlke's repository. These are my version recommendations:

  • Python (>= 3.7.4)
  • NumPy (>= 1.17.2)

About

Python module for common tasks involving the Axon Text File format from Molecular Devices

Resources

Readme
GPL-2.0 license
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.