ill_mirror-takin2-paths

Mirror of my public repo at ILL.

https://github.com/tweber-ill/ill_mirror-takin2-paths

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Mirror of my public repo at ILL.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Created over 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation Authors

README.md

TAS-Paths

Pathfinding software for triple-axis spectrometers.

DOI

Online Resources

Pathfinding Workflow

Steps to try out the pathfinding functionality: - Move existing or add new walls or obstacles to the scene. - Open the configuration space dialog using the "Calculation" -> "Angular Configuration Space..." menu item. - Click the "Update Path Mesh" button in the configuration space dialog to compute the roadmap corresponding to the current instrument and wall configuration. - Click the "Move Current Position" and "Move Target Position" radio buttons and click in the configuration space plot to set and move the start and target positions, respectively. - A path from the start to the target position is calculated. It can be directly traced by clicking the "Go" button in the main window's "Path Properties" dock window.

Building TAS-Paths

On GNU/Linux

  • Install all required software for building (see list of external dependencies below):
    • On Ubuntu: sudo apt install git wget build-essential cmake libboost-all-dev qtbase5-dev libqt5svg5-dev libcgal-dev libqhull-dev libqcustomplot-dev swig libpython3-dev.
    • On Fedora: sudo dnf install git wget gcc cmake boost-devel qt5-qtbase-devel qt5-qtsvg-devel CGAL-devel qhull-devel qcustomplot-qt5-devel swig python3-devel.
  • Clone the source repository: git clone https://code.ill.fr/scientific-software/takin/paths.
  • Go to the repository's root directory: cd paths.
  • Get the external dependencies: ./setup/get_libs.sh.
  • Rebuild the latest versions of libraries with possible C++20 issues (see below): ./setup/rebuild_libs.sh.
  • Get the external licenses (for a release package): ./setup/get_3rdparty_licenses.sh.
  • Build TAS-Paths using: ./setup/release_build.sh.
  • Optionally create a package on Ubuntu using:
    • ./setup/deb/mk.sh jammy for Ubuntu 22.04 or
    • ./setup/deb/mk.sh focal for Ubuntu 20.04.
  • The application can be started via ./build/taspaths.

On Mac

  • Install the Homebrew package manager.
  • Install all required software for building: brew install git wget gcc cmake boost boost-python3 qt@5 cgal qhull swig python.
  • Clone the source repository: git clone https://code.ill.fr/scientific-software/takin/paths.
  • Go to the repository's root directory: cd paths.
  • Get the external dependencies: ./setup/get_libs.sh.
  • Rebuild the latest versions of libraries with possible C++20 issues (see below): ./setup/rebuild_libs.sh.
  • Get the external licenses (for a release package): ./setup/get_3rdparty_licenses.sh.
  • Build TAS-Paths using: ./setup/release_build.sh.
  • Optionally create a package using ./setup/osx/mk.sh.
  • The application can be started via ./build/taspaths.

For MinGW using Fedora (experimental)

  • Install all required software for building: sudo dnf install mingw64-gcc mingw64-gcc-c++ mingw64-boost mingw64-qt5-qtbase-devel mingw64-qt5-qtsvg mingw64-python3.
  • Clone the source repository: git clone https://code.ill.fr/scientific-software/takin/paths.
  • Go to the repository's root directory: cd paths.
  • Get the external dependencies: ./setup/get_libs.sh.
  • Rebuild the latest versions of libraries with possible C++20 issues (see below): ./setup/rebuild_libs.sh mingw.
  • Get the external licenses (for a release package): ./setup/get_3rdparty_licenses.sh.
  • Build TAS-Paths using: ./setup/release_build.sh mingw.
  • Optionally create a package on Ubuntu using ./setup/mingw/mk.sh.

Possible Compile Errors

Because TAS-Paths uses the still relatively new C++20 standard, there may be compatibility issues with older versions of some libraries. - In case of compilation errors involving QHull, get and compile the latest version directly from its source. This C++20 compatibility issue was solved in late 2022. - In case of Boost compilation errors, e.g. if Boost's auto_buffer.hpp complains that std::allocator<...>::pointer is missing (which was removed in C++20), get and compile the latest version directly from its source. This C++20 compatibility issue was solved in early 2020.

External Dependencies

|Library |URL |License URL | |------------|-------------------------------------------|--------------------------------------------------------------------------| |Boost |http://www.boost.org |http://www.boost.org/LICENSE10.txt | |CGAL |https://www.cgal.org |https://github.com/CGAL/cgal/blob/master/Installation/LICENSE | |Qt |https://www.qt.io |https://github.com/qt/qt5/blob/dev/LICENSE.QT-LICENSE-AGREEMENT | |QCustomPlot |https://www.qcustomplot.com |https://gitlab.com/DerManu/QCustomPlot/-/raw/master/GPL.txt | |Lapack(e) |https://www.netlib.org/lapack/lapacke.html |http://www.netlib.org/lapack/LICENSE.txt | |QHull |http://www.qhull.org |https://github.com/qhull/qhull/blob/master/COPYING.txt | |SWIG |http://www.swig.org |https://github.com/swig/swig/blob/master/LICENSE | |Python |https://www.python.org |https://github.com/python/cpython/blob/main/Doc/license.rst | |Numpy |https://numpy.org |https://github.com/numpy/numpy/blob/main/LICENSE.txt | |Scipy |https://www.scipy.org |https://github.com/scipy/scipy/blob/master/LICENSE.txt | |Matplotlib |https://matplotlib.org |https://github.com/matplotlib/matplotlib/blob/master/LICENSE/LICENSE | |tlibs |https://doi.org/10.5281/zenodo.5717779 |https://code.ill.fr/scientific-software/takin/tlibs2/-/raw/master/LICENSE |

Owner

  • Name: Tobias Weber (Institut Laue-Langevin)
  • Login: tweber-ill
  • Kind: user
  • Location: Grenoble, France
  • Company: Institut Laue-Langevin (ILL), Grenoble, France

This account serves as mirror of my work repositories at https://code.ill.fr/tweber. My personal GitHub account can be found here: @t-weber.

Citation (CITATION.bib)

@article
{
	web_taspaths,
	author = {Weber, Tobias},
	title = {{TAS-Paths (Software)}},
	doi = {10.5281/zenodo.4625649},
	year = {2021},
	month = {Sep},
	publisher = {Zenodo},
}

GitHub Events

Total
Last Year