%global _empty_manifest_terminate_build 0 Name: python-pycotem Version: 2.10.2 Release: 1 Summary: A python package for working with crystal orientations in transmission electron microscopy License: GPL-3.0 URL: https://mompiou.github.io/pycotem/ Source0: https://mirrors.aliyun.com/pypi/web/packages/08/0a/e1b5c53118ca8cace972925031061098e65142ef58f9637ac280f5fc02d8/pycotem-2.10.2.tar.gz BuildArch: noarch %description # pycotem ![PyPI](https://img.shields.io/pypi/v/pycotem?style=plastic) pycotem is a python package for working with crystal orientations in transmission electron microscopy. It provides 6 GUI tools to: - determine orientation from diffraction patterns: ```diffraction``` - determine orientation from Kikuchi patterns: ```kikuchi``` - work with stereographic projections: ```stereoproj``` - determine interface normal and direction from images: ```interface``` - determine orientation relationship and misorientation between two crystals: ```misorientation``` - display crystal projection on a plane and draw dichromatic patterns: ```crystal``` ## Getting Started ### Prerequisites pycotem relies on ```python3``` with ```numpy```, ```pillow```, ```matplotlib``` and ```pyqt5``` (for GUI) packages. ### Installing and running pycotem can be installed with pip: ```pip3 install pycotem``` Run ```python3 -m pycotem.xxxx``` for the different tools: ```stereoproj```, ```diffraction```, ```kikuchi```,```misorientation```,```interface``` and ```crystal```. ### Examples Image files and setting parameters are provided in the ```test``` directory in the github repository for testing ```diffraction```, ```interface``` and ```kikuchi```. ## Documentation Available [here](https://mompiou.github.io/pycotem) ## Contributing Contributions, bug issues, requests and comments can be adressed directly or through pull-request on github. ## Authors [F. Mompiou](https://github.com/mompiou), with idea from [RX Xie](https://github.com/XIEruixun) (Tsinghua Univ), J. Du (Tsinghua Univ.) and the contribution of G. Perret (Univ. Toulouse). ## License This project is licensed under the GPL-3.0 License. %package -n python3-pycotem Summary: A python package for working with crystal orientations in transmission electron microscopy Provides: python-pycotem BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pycotem # pycotem ![PyPI](https://img.shields.io/pypi/v/pycotem?style=plastic) pycotem is a python package for working with crystal orientations in transmission electron microscopy. It provides 6 GUI tools to: - determine orientation from diffraction patterns: ```diffraction``` - determine orientation from Kikuchi patterns: ```kikuchi``` - work with stereographic projections: ```stereoproj``` - determine interface normal and direction from images: ```interface``` - determine orientation relationship and misorientation between two crystals: ```misorientation``` - display crystal projection on a plane and draw dichromatic patterns: ```crystal``` ## Getting Started ### Prerequisites pycotem relies on ```python3``` with ```numpy```, ```pillow```, ```matplotlib``` and ```pyqt5``` (for GUI) packages. ### Installing and running pycotem can be installed with pip: ```pip3 install pycotem``` Run ```python3 -m pycotem.xxxx``` for the different tools: ```stereoproj```, ```diffraction```, ```kikuchi```,```misorientation```,```interface``` and ```crystal```. ### Examples Image files and setting parameters are provided in the ```test``` directory in the github repository for testing ```diffraction```, ```interface``` and ```kikuchi```. ## Documentation Available [here](https://mompiou.github.io/pycotem) ## Contributing Contributions, bug issues, requests and comments can be adressed directly or through pull-request on github. ## Authors [F. Mompiou](https://github.com/mompiou), with idea from [RX Xie](https://github.com/XIEruixun) (Tsinghua Univ), J. Du (Tsinghua Univ.) and the contribution of G. Perret (Univ. Toulouse). ## License This project is licensed under the GPL-3.0 License. %package help Summary: Development documents and examples for pycotem Provides: python3-pycotem-doc %description help # pycotem ![PyPI](https://img.shields.io/pypi/v/pycotem?style=plastic) pycotem is a python package for working with crystal orientations in transmission electron microscopy. It provides 6 GUI tools to: - determine orientation from diffraction patterns: ```diffraction``` - determine orientation from Kikuchi patterns: ```kikuchi``` - work with stereographic projections: ```stereoproj``` - determine interface normal and direction from images: ```interface``` - determine orientation relationship and misorientation between two crystals: ```misorientation``` - display crystal projection on a plane and draw dichromatic patterns: ```crystal``` ## Getting Started ### Prerequisites pycotem relies on ```python3``` with ```numpy```, ```pillow```, ```matplotlib``` and ```pyqt5``` (for GUI) packages. ### Installing and running pycotem can be installed with pip: ```pip3 install pycotem``` Run ```python3 -m pycotem.xxxx``` for the different tools: ```stereoproj```, ```diffraction```, ```kikuchi```,```misorientation```,```interface``` and ```crystal```. ### Examples Image files and setting parameters are provided in the ```test``` directory in the github repository for testing ```diffraction```, ```interface``` and ```kikuchi```. ## Documentation Available [here](https://mompiou.github.io/pycotem) ## Contributing Contributions, bug issues, requests and comments can be adressed directly or through pull-request on github. ## Authors [F. Mompiou](https://github.com/mompiou), with idea from [RX Xie](https://github.com/XIEruixun) (Tsinghua Univ), J. Du (Tsinghua Univ.) and the contribution of G. Perret (Univ. Toulouse). ## License This project is licensed under the GPL-3.0 License. %prep %autosetup -n pycotem-2.10.2 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-pycotem -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 2.10.2-1 - Package Spec generated