Skip to content

Commit

Permalink
* BeamTilt/BeamShift
Browse files Browse the repository at this point in the history
* Documentation update
* renamed source directory from _temscript to _temscript_module
  • Loading branch information
niermann committed Mar 24, 2017
1 parent 54b8354 commit ecc169f
Show file tree
Hide file tree
Showing 34 changed files with 315 additions and 214 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
-- Version 1.0.7 --------------------------------------------

Started new interface (with client/server support).

-- Version 1.0.5 --------------------------------------------

Small fixes
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2012-2016, Tore Niermann
Copyright (c) 2012-2017, Tore Niermann
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
6 changes: 4 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Requirements:
Numpy (tested with 1.6)
Sphinx (only for building documentation, tested with 1.1.3)
A compiler (tested with MS Visual Studio 8/10)
FEI Microscope's scripting adapter DLL. On a Titan V1.1 PC typically located in
C:\Titan\Scripting\stdscript.dll

Alternatively, use the Anaconda python distribution (you still need
the compiler though)
Expand All @@ -29,7 +31,7 @@ the compiler though)

Install your own microscope's scripting adapters type library:
1) Copy your version of the scripting adapter's stdscript.dll into
to the _temscript subdirectory
to the _temscript_module subdirectory

Simply execute from the command line (assuming you have your python
interpreter in the path):
Expand Down Expand Up @@ -67,7 +69,7 @@ Relative to Titan V1.1 scripting adapter:

-- Copyright & Disclaimer -----------------------------------------

Copyright (c) 2012-2016 by Tore Niermann
Copyright (c) 2012-2017 by Tore Niermann
Contact: niermann (at) physik.tu-berlin.de

All product and company names are trademarks or registered trademarks
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = []
extensions = ['sphinx.ext.autodoc']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand All @@ -41,7 +41,7 @@

# General information about the project.
project = u'temscript'
copyright = u'2012-2016, Tore Niermann'
copyright = u'2012-2017, Tore Niermann'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand All @@ -50,7 +50,7 @@
# The short X.Y version.
version = '1.0'
# The full version, including alpha/beta/rc tags.
release = '1.0.6'
release = '1.0.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
18 changes: 15 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Welcome to temscript's documentation!
Contents:

.. toctree::
:maxdepth: 2
:maxdepth: 2

module
microscope
instrument

Introduction:
=============
Expand All @@ -25,7 +26,9 @@ Enumerations
Many of the object's attributes actually return values from enumeration. The Python
wrappers of these attributes will return an integer value. There are constants in the
:mod:`temscript` module representing the enumeration values (e.g. ``pmImaging`` and ``pmDiffraction``
for the ``Mode`` attribute of the :class:`Projection` object)
for the ``Mode`` attribute of the :class:`Projection` object). Since version 1.0.5 there are also
python enums for these, which can be found in the :mod:`temscript.enums` module and are imported
into the :mod:`temscript` namespace.

Vectors
^^^^^^^
Expand All @@ -40,6 +43,15 @@ Collections
Collections will be returned as list or tuple of objects. In future versions this might change,
and dictionaries will be returned.

Globals
^^^^^^^

.. data:: version

A string describing the version of temscript in the format 'X.Y.Z'.
Current value is '|release|'. This is not the version of the TEMScripting interface
(which can't be queried such easily).

Indices and tables
==================

Expand Down
Loading

0 comments on commit ecc169f

Please sign in to comment.