Skip to content

Commit

Permalink
pybind11: Python bindings (#27)
Browse files Browse the repository at this point in the history
* Install deps with vcpkg

* Update README

* Fix vcpkg submodule

* Fix submodule

* Update install instructions

* Update README

* Update vcpkg submodule

* Auto-detect HDF5 static

* Fix HDF5.cmake

* Progress with wrappers

* Convert to manifest mode

* Update version string in vcpkg manifest

* Clarify vcpkg dep isntall

* Get pybind11 structure working

* Don't copy pybind11 repo to build

* Progress

* Add CARMA

* Update CMake for carma

* Progress with bindings

* Export package version

* Rename, expand python tests

* Finish GLDS

* Add Poisson system

* .gitignore compiled Python

* .gitignore .egg-info folder

* Progress with fits

* Use std and lds in gaussian and poission

* Finish Fits

* Add link to GitHub issue on const& return

* Change to succinct syntax for const& getters

* Update test_fits

* Rename ldsutils to bindutils

* Test f side effect in fits in overload

* Start uniform lists

* Fix UML move constructor bug

* Finish uniform mats and vecs

* Start UniformSystemLists

* Finish uniform lists

* Add install option

* Fix examples link

* Fig bugs in uniform lists

* Add virtual destructors, fix typos

* Progress

* Finish FitEM

* Bind FitSSID

* Fix Ctrl init bug when ctrl type in constructor

* Add some getters to ctrl

* Finish controllers

* Add test path to pyproject.toml

* Test ctrl.Reset()

* Includes in sctrl source

* Finish switched control

* Start test_examples

* Fix m to n_x in eg_glds_ctrl

* Add system copy methods

* Remove extra print en eg_glds_ctrl

* Fix Python build

* Finish eg_glds_ctrl.py

* Fix m dim to n_x in eg_plds_ctrl

* Finish eg_plds_ctrl.py

* Add plots to eg_glds_ctrl.py

* Plot plds_ctrl, fix m switching

* Remove redundant ctrl.sys print

* Fix typos

* Fix m to n_x in eg_glds_du_plds_ctrl.cpp

* Fix typo

* Finish eg_glds_du_plds_ctrl.py

* Print controller eg_glds_ctrl

* Fix typo in eg_plds_switched_ctrl.cpp

* Finish eg_sctrl sim

* Finish plds_switched_ctrl plots

* Fix m to n_x in eg_plds_est.cpp

* Finish eg_plds_est.py

* Add Sys getters, change to template

* Update Sys bindings: use template, add getters

* Finish eg_glds_fit.py

* Set seed in tests

* Format eg_glds_fit.py

* Finish eg_plds_fit.py

* Remove unneeded code from bindutils

* Clean up

* Set carma commit

* Add ldsctrlest README

* Update README with Py install details

* create System(Fit) constructors

* configure ctest

* Update vcpkg commit

* update docs source

* Update built docs

* bump to version 0.8.0

* Remove redundant built docs

* update .gitignore for docs

* Update "getting started"

* fix pybind11 submodule

* update carma version

* update vcpkg

* change vcpkg version

* Update docs source

* make Python tests less prone to plt errors

* update README

* add debug ideas to getting-started

* update docs source

* update built docs

Co-authored-by: kjohnsen <[email protected]>
  • Loading branch information
kjohnsen and kjohnsen authored May 19, 2022
1 parent bfe244a commit 6aad4e5
Show file tree
Hide file tree
Showing 665 changed files with 23,598 additions and 108,999 deletions.
216 changes: 113 additions & 103 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,103 +1,113 @@
# Compiled source #
###################
*.com
*.class
*.exe
*.o
*.lo
*.a
*.lib
*.la
*.lai
*.so
*.dylib
*.dll
*.mex*

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db


# Ignore .mat files. Git does not do well with big binary files. #
##################################################################
*.mat
*.asv

# Ignore TDT binary files. #
############################
*.sev
*.Tbk
*.Tdx
*.tev
*.tnt
*.tsq

# Ignore other binary/data files. #
#############################
*.dat
*.bin
*.kwik
*.gsd
*.ccf
*.nev
*.ns5
*.h5

# Ignore figures. #
###################
*.pdf
*.svg
*.eps
*.png
*.tif
*.jpg

# Ignore Videos. #
##################
*.mp4
*.avi
*.ogv
*.mkv

# Ignore OS-related #
#####################
.DS_Store

# Specific to this project #
############################
build/
out/
cpp.sublime-workspace
.vs/
.vscode/
.cache/

# whitelist documentation
!docs/**
!misc/docs-hugo/**
# Compiled source #
###################
*.com
*.class
*.exe
*.o
*.lo
*.a
*.lib
*.la
*.lai
*.so
*.dylib
*.dll
*.mex*
*.pyc
*.pyd
*.pdb
*.egg-info/

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db


# Ignore .mat files. Git does not do well with big binary files. #
##################################################################
*.mat
*.asv

# Ignore TDT binary files. #
############################
*.sev
*.Tbk
*.Tdx
*.tev
*.tnt
*.tsq

# Ignore other binary/data files. #
#############################
*.dat
*.bin
*.kwik
*.gsd
*.ccf
*.nev
*.ns5
*.h5

# Ignore figures. #
###################
*.pdf
*.svg
*.eps
*.png
*.tif
*.jpg

# Ignore Videos. #
##################
*.mp4
*.avi
*.ogv
*.mkv

# Ignore OS-related #
#####################
.DS_Store

# Specific to this project #
############################
build/
out/
**/Testing/**
cpp.sublime-workspace
.vs/
.vscode/
.cache/

# whitelist documentation
!docs/**
!misc/docs-hugo/archetypes/**
!misc/docs-hugo/content/**
!misc/docs-hugo/resources/**
!misc/docs-hugo/static/**
# but not second built site--that's already in docs
misc/docs-hugo/public/*
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@
[submodule "misc/docs-hugo/themes/book"]
path = misc/docs-hugo/themes/book
url = https://github.com/alex-shpak/hugo-book
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/microsoft/vcpkg.git
[submodule "python/pybind11"]
path = python/pybind11
url = https://github.com/pybind/pybind11.git
[submodule "python/carma"]
path = python/carma
url = https://github.com/RUrlus/carma.git
Loading

0 comments on commit 6aad4e5

Please sign in to comment.