This package allows automation of WITec Control over COM
Project description
This package enables control of WITec microscopes over its COM interface (additonal license required).
- Gives access to data acquisition functions
- Implements all classes of WITec's COM interface
- Offers ready-to-use modules for main measurement modes (Large Area Scan, Line Scan, Slow Series)
- Has modules for hardware control (motorized xy and z stage, spectrograph, laser, TrueSurface, polarization, turret)
- Gives access to video system (image acquisition, autofocus)
- Enables to save and create projects
- Can be extended by directly accessing needed parameters
- All modules are tested with versions down to WITec Control 5.0 (can be used even for older version but not all classes might work)
Documentation and examples
Basic information can be found using the Python's built-in help function.
Quickstart
from WITecSDK import WITecControl
WC = WITecControl()
WC.SingleSpectrum.IntegrationTime
All available modules are implemented as property of the main class (WITecControl).
Examples
Documented examples are delivered with WITec Control. Further information can be found in it's help. If you use an older version of WITec Control please contact the WITec support team.
Contribution, feature requests and bug reports
If you want to share your own extensions or have feature wishes or bug reports please contact the WITec support team.
Changelog
Changes in 1.5.4
- Bug fixed: Spectrum class is losing one datapoint during conversion from ASCII
Changes in 1.5.3
- Bug fixed: no await for sleep in SilentSpectrum
Changes in 1.5.2
- Bug fixed: no await for sleep in WaitForWriteAccess
Changes in 1.5.1
- SamplePostioner class extended with additional features
- ScanTable class extended with additional features
- Speed limit was missing in XYAxes class
- new parameter for timing mode and shutter control in Slow Time Series added
- SamplePositionerPostion renamed to XYPosition (old name is still working)
Changes in 1.5.0
- main class renamed to WITecControl (WITecSDKClass still works)
- modules are now properties of the main class
- Create... methods are created dynamically for compatibility
- available parameters are now accessible by dot notation under comParameters (i.e. WITec.comParameters.UserParameters)
- Parameters have their type, path and if applicable their value as representation
- module for own coordinate system added
Changes in 1.4.2
- module for EFMControl added
- ScanMode implemented for LineScan class
- version information in prompt when connecting
- Typo PGain corrected in AFM class
- correct range output in ValueOutOfRangeException
Changes in 1.4.1
- Support for AFM added
- new modules AFM, DistanceCurve and ImageScanMultiPass
- new method in WITecSDKClass: WaitForWriteAccess
- bug in property Beta of ImagesScan fixed
Changes in 1.4.0
- Support for pywin32 removed
- COM parameter classes now use properties
- COMParameters.GetParameter always returns the correct class
- COM operations will produce a ConnectionLostException in case WITec Control is not available
- AwaitSilentSpectrumAvailableBeamPath() in SilentSpectrum now waits 4 seconds for beampath change
- XYAxes has AwaitMoveToSoftwarePosBacklashComp which moves with Backlash compensation
- Wrong calculation of Laser power in combination with correction factor fixed, new property SelectedLaserPowerInFiber in LaserManager module
Changes in 1.3.1
- Mask property for SpectralAutofocus
- setSpectralMask is deprecated and will be removed in the future
- Mask added to AutofocusSettings
Changes in 1.3.0
- Image scan added
- Scan table (piezo stage) added
Changes in 1.2.5
- Bug in Autofocus fixed
- Bug in WITecControlVersionTester fixed
Changes in 1.2.4
- Spectral Stitching added
- WITecControlVersionTester reworked
Changes in 1.2.3
- Bug in Polarization.py and Beampath.py fixed
Changes in 1.2.2
- Readme fixed
Changes in 1.2.1
- Bug in Polarization.py fixed
Changes in 1.2.0
- New WITec Control 6.2 features implemented (for LineScan, LargeAreaScan, ActiveSequencer, TrueSurface)
- docstrings added
- compatibility down to WITec Control 5.0 added
- New class LaserPowerSeries
- New structure for Polarization class
- CalibrationLamp and AdjustmentSampleCoupler added to BeamPath
- LineScan has own Integration time and Accumulation property
- LaserManager gives the corrected laser power by default (old property removed)
- New property Unit for Spectrograph
Changes in 1.1.2
- New property HideViewers for the ActiveSequencer
- New property WriteAccess in the COMClient replacing old implemantation
- New property ReadAccess for the COMClient and HasReadAccess for the main class
- Improved error handling in del of COMClient
Changes in 1.1.1
- Bug in ProjectCreatorSaver module corrected
- property ExtraDirectory renamed to SubDirectory (read-only) and method DefineSubDirectory()
Changes in 1.1.0
- New class AutomatedCoupler attached to TopIllumination and VideoControl, if automated
- New classes inheriting from its main class to implement versiongreater61 features
- New class DetectorOutput for internal use
- del removed from all modules
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file witecsdk-1.5.4.tar.gz.
File metadata
- Download URL: witecsdk-1.5.4.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ce95e433e40f173661f8c0626db76ef73781437a5202c62c692b693a18da5a4
|
|
| MD5 |
dc7c714761748f004f93e31a4b6187d1
|
|
| BLAKE2b-256 |
abb310890f80ebb09010017df48311ac713877ce48c73f93ecec66325e667316
|
File details
Details for the file witecsdk-1.5.4-py3-none-any.whl.
File metadata
- Download URL: witecsdk-1.5.4-py3-none-any.whl
- Upload date:
- Size: 63.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93a9086ccec146c06955330bf79d27d5bce697e42d979969209fe702e0cc8ebe
|
|
| MD5 |
2502424d62fcc4bcdeb791f6eb8227a5
|
|
| BLAKE2b-256 |
482728b28db169c1c75e1741ea4168c442b3f8a7188416a6c453549705dfb5e7
|