-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readme and pypi metdata updates. Forgot to include _load_data() in Sp…
…ec.__init__ method.
- Loading branch information
1 parent
9df5970
commit fc91606
Showing
4 changed files
with
109 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
|Build Status| |Coverage Status| # nanonispy | ||
|
||
A small library written in python 3 to parse Nanonis binary and ascii | ||
files. | ||
|
||
Requirements | ||
------------ | ||
|
||
Currently written and tested with - python 3.5 - python 3.4 | ||
|
||
Depends on - numpy | ||
|
||
Will continue making tests that are actually useful and maybe will make | ||
this a conda/pip build. | ||
|
||
Install | ||
------- | ||
|
||
pip | ||
~~~ | ||
|
||
:: | ||
|
||
pip install nanonispy | ||
|
||
conda | ||
~~~~~ | ||
|
||
:: | ||
|
||
conda install --channel https://conda.anaconda.org/underchemist nanonispy | ||
|
||
github | ||
~~~~~~ | ||
|
||
Simply clone this repo and run | ||
|
||
:: | ||
|
||
python setup.py install | ||
|
||
Basic usage | ||
----------- | ||
|
||
Once installed, you should be able to import it to any python script or | ||
ipython session. | ||
|
||
.. code:: python | ||
import nanonispy as nap | ||
Then given a file, | ||
|
||
.. code:: python | ||
grid = nap.read.Grid('/path/to/datafile.3ds') | ||
You can look at the attributes and methods to determine the information | ||
available. | ||
|
||
Running tests | ||
------------- | ||
|
||
Similar to the install, except run | ||
|
||
:: | ||
|
||
python setup.py test | ||
|
||
. If you have the nose module installed, it's as simple as | ||
|
||
:: | ||
|
||
nosetests | ||
|
||
. | ||
|
||
You can also see coverage of the tests as well as ignore the test | ||
discovery of numpy core packages (don't quite understand why it does | ||
this) with | ||
|
||
:: | ||
|
||
nosetests --with-coverage --cover-branches --cover-package=nanonispy | ||
|
||
. | ||
|
||
*I don't know how to turn tests without nose...* | ||
|
||
To do | ||
----- | ||
|
||
- homogenize grid and scan header keys, right now header formats are | ||
pretty different and I'm to lazy to do it myself. | ||
- more relevant tests | ||
- saving methods | ||
|
||
.. |Build Status| image:: https://travis-ci.org/underchemist/nanonispy.svg?branch=master | ||
:target: https://travis-ci.org/underchemist/nanonispy | ||
.. |Coverage Status| image:: https://coveralls.io/repos/underchemist/nanonispy/badge.svg?branch=master&service=github | ||
:target: https://coveralls.io/github/underchemist/nanonispy?branch=master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file=README.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters