Skip to content

SWIG wrapper for Blackrock Microsystems CereStim API with Python implementation.

Notifications You must be signed in to change notification settings

CerebusOSS/CereStimWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CereStim SWIG Wrapper

This contains a SWIG wrapper for Blackrock Microsystems CereStim API.

Prerequisites

Build & Install

  1. Make sure swig.exe is on your PATH.
    • via system environment variables
    • via command prompt, e.g: set PATH=%PATH%;%HOMEPATH%\Downloads\swigwin-4.1.1\swigwin-4.1.1
  2. May need to set PYTHON_INCLUDE and PYTHON_LIB
  3. Open this directory in command prompt. (probably x64 Native Tools Command Prompt for VS 2019)
  4. swig -c++ -python -I"CereStim-API/Binaries/" cerestim/cerestim.i
  5. Switch to your Anaconda Prompt, activate an appropriate environment, and cd to this directory.
  6. pip install .

Usage

I plan to make a more featureful Python package. For now, the compiled module can be imported directly.

import cerestim

About

SWIG wrapper for Blackrock Microsystems CereStim API with Python implementation.

Resources

Stars

Watchers

Forks

Packages

No packages published