{"id":43500947,"url":"https://github.com/aimat-lab/xrdpattern","last_synced_at":"2026-02-03T11:23:24.991Z","repository":{"id":221580810,"uuid":"754777255","full_name":"aimat-lab/xrdpattern","owner":"aimat-lab","description":"Python library for XrdPatterns including file import, file export and postprocessing functionalities","archived":false,"fork":false,"pushed_at":"2025-09-03T08:27:56.000Z","size":18001,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T01:33:50.237Z","etag":null,"topics":["diffraction-pattern","powder-diffraction"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aimat-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-08T18:44:44.000Z","updated_at":"2025-04-29T10:23:55.000Z","dependencies_parsed_at":"2024-02-25T23:28:00.170Z","dependency_job_id":"dde4f968-5f76-4e66-a10c-0d4b134556c6","html_url":"https://github.com/aimat-lab/xrdpattern","commit_stats":null,"previous_names":["aimat-lab/xrdpattern"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aimat-lab/xrdpattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimat-lab%2Fxrdpattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimat-lab%2Fxrdpattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimat-lab%2Fxrdpattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimat-lab%2Fxrdpattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimat-lab","download_url":"https://codeload.github.com/aimat-lab/xrdpattern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimat-lab%2Fxrdpattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29044110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diffraction-pattern","powder-diffraction"],"created_at":"2026-02-03T11:23:24.016Z","updated_at":"2026-02-03T11:23:24.971Z","avatar_url":"https://github.com/aimat-lab.png","language":"C++","readme":"## About\n\nPython library for handling XrdPatterns including support for importing from data files, exporting as json file, visualization and postprocessing.\nThe data file import functionalities are largely built on the C++ library  [xylib](https://github.com/wojdyr/xylib) so beyond a standard python install this library also requires:\n- A C++ compiler and standard library\n- A C++ to python bridge (Swig)\n\n## Installation\n\n### System level requirements\nFor Ubuntu 22.04:\n```\nsudo apt install build-essential\t# GNU C++ compiler\nsudo apt install libboost-all-dev       # C++ libraries provided by Boost\nsudo apt install swig \t\t\t# python -\u003e C++ bridge\n```\n\nFor Windows \u003e10 you may try the following in PowerShell (requires [Chocolatey](https://chocolatey.org/)):\n```\nchoco install mingw  # C++ compiler and std library\nchoco install swig   # python -\u003e C++ bridge\n```\n### Python library\nOnce the system level requirements are installed, the library can be installed using pip:\n```\npip install xrdpattern\n```\n\n\n## Supported formats\n\nLoading Diffractogram patterns from the following data formats is supported:\n\n- Plain Text Files\n    - Comma seperated values (.csv)\n    - Two column data (.xy)\n    - Crystallographic Information File for Powder Diffraction (.cif)\n    - Custom XrdPattern json format (.json)\n    - Plain text tab seperated values (.txt) (! In progress)\n    - PANalytical XRDML (.xrdml)\n    - Freiberg Instruments XSYG (.xysg)\n\n\n- Binaries:\n  - Siemens/Bruker RAW ver. 1/2/3/4 (.raw)\n  - Stoe RAW (.raw) (! In progress)\n  - Siemens/Bruker UXD (.uxd)\n  - Philips UDF (.udf)\n  - Philips RD ver. 3/5 (.rd)\n  - Rigaku DAT (.dat)\n  - RIET7 DAT (.dat)\n  - Sietronics Sieray CPI (.cpi)\n  - XFIT/Koalariet XDD (.xdd)\n  - DBWS/DMPLOT data file (.dbw, .rit, .neu)\n  - Canberra CNF (.cnf)\n  - Canberra AccuSpec MCA (.mca)\n  - χPLOT CHI (.chi)\n  - Bruker SPC (.spc)\n\nWhen using Xrdpattern.load(fpath=xrdfile.suffix), the format will be automatically determined from the suffix unless\nthere are are several formats with this format as with .raw and .dat. \nIn this case the format will need to be manually specified.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimat-lab%2Fxrdpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimat-lab%2Fxrdpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimat-lab%2Fxrdpattern/lists"}