pyKoalaRemote
Python wrapper for dotNet Koala Remote Client provided by LynceeTec to control Digital Holographic Microscope using proprietary Koala software
The wrapper uses the same methods names and arguments as the dotNet library distributed by LynceeTec SA LynceeTec.KoalaRemote.Client for Koala version 8.7.28811.0 LynceeTec.KoalaRemote.Client.dll documentation
Methods that return a dotNet Array are modified to return a Numpy Array, modified methods are described bellow.
Installation using pip
pip install pyKoalaRemote
Test
From Ipython console
from pyKoalaRemote import client
run client
Usage
Import the class client from the pyKoalaRemote and create an instance
from pyKoalaRemote import client
remote = client.pyKoalaRemoteClient()
Run standard methods
remote.Connect("localhost")
remote.Login("password")
remote.OpenConfig(137)
New methods
Two new methods enable a dialog in the console.
- ConnectAndLoginDialog
- Arguments : void(nothing)
- Return : true if the connection and login was successful
- Comments :
- Connect and Login to Koala within a single function.
- IP address and password are defined in the console
- If the user leave empty field, the default value is used
- OpenConfigDialog
- Arguments : void(nothing)
- Return : true if the connection and login was successful
- Comments :
- Config number is defined in the console
- GetPhaseProfileAxis
- Description : return calibrated axis in [um] of a profile cut
- Arguments : void(nothing)
- Return : 1D Numpy array of np.double of profile length
Modified methods
The methods that returns dotNet Array are modified to return Numpy Array
- Connect(hostname, quiet=True)
- Arguments :
- hostName (String): The IP of the computer where Koala is running. Use localhost if running on the same computer
- quiet (Boolean): Deprecated parameter, will be removed in a later version. Set either to true or false
- Return : true if the connection was successful
- Comments : the instance variable username is set with username
- Arguments :
- GetAxesPosMu
- Arguments : void (nothing)
- Return : 1D Numpy array of np.double of size 4, where the data for the X, Y, Z and Theta axis respectively
- GetHoloImage
- Arguments : void (nothing)
- Return : 2D Numpy array of np.ubyte of hologram size
- GetIntensityImage
- Arguments : void (nothing)
- Return : 2D Numpy array of np.ubyte of ROI size
- GetIntensity32fImage
- Arguments : void (nothing)
- Return : 2D Numpy array of np.single of ROI size
- GetPhaseImage
- Arguments : void (nothing)
- Return : 2D Numpy array of np.ubyte of ROI size
- GetPhase32fImage
- Arguments : void (nothing)
- Return : 2D Numpy array of np.single of ROI size
- GetPhaseProfile
- Arguments : void (nothing)
- Return : 1D Numpy array of np.double of profile length
Written with StackEdit.
Metadata
Release files for pyKoalaRemote 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pykoalaremote-1.2.0.tar.gz | 29.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pykoalaremote-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.0 kB
Release files / pykoalaremote-1.2.0.tar.gz
| Download URL | pykoalaremote-1.2.0.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68ccbd5848ed7b81008cf37e3b09785c2c0e75c3441663fa35c3579ee4a723e4
|
|
BLAKE2b-256 checksum How to use checksums |
759dd4a5acf0b7bcbdc26efa64bbee1c6c217777bcada4cb9966ba942392c798
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Release files / pykoalaremote-1.2.0-py3-none-any.whl
| Download URL | pykoalaremote-1.2.0-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b15a487e7353f2ffbe34775ee91ca23c24f042c27a0f4d04663c08af65b0f12e
|
|
BLAKE2b-256 checksum How to use checksums |
59d1ec8875aaa8175d68501e013b58e9ba8a73806cc9950b522aa4f67635cf15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Security for pyKoalaRemote 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.