Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Convert raw text data files into a single excel file.

Project Description

A plugin based data load and manimupulation library.


Use pip like:

$ pip install maidenhair


Assume that there are three kinds of samples and each samples have 5 indipendent experimental results. All filenames are written as the following format:

sample-type<type number>.<experiment number>.txt

And files are saved in data directory like:

+- data
    +- sample-type1.001.txt
    +- sample-type1.002.txt
    +- sample-type1.003.txt
    +- sample-type1.004.txt
    +- sample-type1.005.txt
    +- sample-type2.001.txt
    +- sample-type2.002.txt
    +- sample-type2.003.txt
    +- sample-type2.004.txt
    +- sample-type2.005.txt
    +- sample-type3.001.txt
    +- sample-type3.002.txt
    +- sample-type3.003.txt
    +- sample-type3.004.txt
    +- sample-type3.005.txt

Then, the code for plotting the data will be:

>>> import matplotlib.pyplot as plt
>>> import maidenhair
>>> import maidenhair.statistics
>>> dataset = []
>>> dataset += maidenhair.load('data/sample-type1.*.txt', unite=True)
>>> dataset += maidenhair.load('data/sample-type2.*.txt', unite=True)
>>> dataset += maidenhair.load('data/sample-type3.*.txt', unite=True)
>>> nameset = ['Type1', 'Type2', 'Type3']
>>> for name, (x, y) in zip(nameset, dataset):
...     xa = maidenhair.statistics.average(x)
...     ya = maidenhair.statistics.average(y)
...     ye = maidenhair.statistics.confidential_interval(y)
...     plt.errorbar(xa, ya, yerr=ye, label=name)
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
maidenhair-0.3.5.tar.gz (13.4 kB) Copy SHA256 Checksum SHA256 Source May 31, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting