ALP4lib | Python control module for Vialux DMDs based on ALP4.X API

 by   wavefrontshaping Python Version: 1.0.1 License: MIT

kandi X-RAY | ALP4lib Summary

kandi X-RAY | ALP4lib Summary

ALP4lib is a Python library. ALP4lib has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This module wraps the basic function of the Vialux dlls to control a digitial micro-mirror device with a Vialux board. Vialux provides dlls and also modules for Matlab and Labview but not for Python. This code is tested with a device using the 4.3 version of the ALP API, other versions may have issues. LED control related functions are not implemented. Please read the ALP API description provided with the Vialux ALP installation.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ALP4lib has a low active ecosystem.
              It has 22 star(s) with 20 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 8 open issues and 1 have been closed. On average issues are closed in 147 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ALP4lib is 1.0.1

            kandi-Quality Quality

              ALP4lib has 0 bugs and 0 code smells.

            kandi-Security Security

              ALP4lib has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ALP4lib code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ALP4lib is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ALP4lib releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 587 lines of code, 27 functions and 4 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ALP4lib and discovered the below as its top functions. This is intended to give you an instant insight into ALP4lib implemented functionality, and help decide if they suit your requirements.
            • Put an image
            • Checks if an error is raised
            • Converts an image to bit plane
            • Convert image array to bit plane
            • Launch the program
            • Halt the device
            • Free the device
            • Set device control parameters
            • Free the image sequence
            • Send a device control request
            • Sets a Proj
            • Sets a Projoint
            • Initialize the device
            • Inquire a device
            • Initiate a new experiment
            • Send a SeqControl command
            • Initiate the Proj
            • Establish a sequence
            • Allocates an image sequence
            • Sets the timing information
            • Sends an image sequence to the device
            • Wait for the program to finish
            Get all kandi verified functions for this library.

            ALP4lib Key Features

            No Key Features are available at this moment for ALP4lib.

            ALP4lib Examples and Code Snippets

            ALP4lib,A simple example
            Pythondot img1Lines of Code : 33dot img1License : Permissive (MIT)
            copy iconCopy
            import numpy as np
            from ALP4 import *
            import time
            
            # Load the Vialux .dll
            DMD = ALP4(version = '4.3')
            # Initialize the device
            DMD.Initialize()
            
            # Binary amplitude image (0 or 1)
            bitDepth = 1    
            imgBlack = np.zeros([DMD.nSizeY,DMD.nSizeX])
            imgWhite =  
            Automatic installation
            Pythondot img2Lines of Code : 2dot img2License : Permissive (MIT)
            copy iconCopy
            pip install ALP4lib
            
            easy_install ALP4lib
              
            Installation from source (Github)
            Pythondot img3Lines of Code : 2dot img3License : Permissive (MIT)
            copy iconCopy
            python setup.py install
            
            python setup.py develop
              

            Community Discussions

            No Community Discussions are available at this moment for ALP4lib.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ALP4lib

            Just copy the ALP4.py file in the working directory.
            To automatically download and copy the module in the python directory (so it can be available from anywhere), run the command:.
            To install the latest version from Github, clone the repository, and install the package with the the following command.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/wavefrontshaping/ALP4lib.git

          • CLI

            gh repo clone wavefrontshaping/ALP4lib

          • sshUrl

            git@github.com:wavefrontshaping/ALP4lib.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by wavefrontshaping

            complexPyTorch

            by wavefrontshapingPython

            pyMMF

            by wavefrontshapingJupyter Notebook

            slmPy

            by wavefrontshapingPython

            WFS.net

            by wavefrontshapingJupyter Notebook

            PyTorchAberrations

            by wavefrontshapingJupyter Notebook