{"id":20766047,"url":"https://github.com/lamyj/sycomore","last_synced_at":"2025-04-30T10:10:43.475Z","repository":{"id":60721893,"uuid":"199385133","full_name":"lamyj/sycomore","owner":"lamyj","description":"MRI simulation toolkit","archived":false,"fork":false,"pushed_at":"2023-12-05T10:42:12.000Z","size":7204,"stargazers_count":30,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T15:57:34.068Z","etag":null,"topics":["bloch-simulation","configuration-mo","diffusion","epg","extended-phase-graphs","magnetization-transfer","mri","mri-simulation-toolkit","simulation"],"latest_commit_sha":null,"homepage":"https://sycomore.readthedocs.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lamyj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2019-07-29T05:36:52.000Z","updated_at":"2025-03-06T09:20:54.000Z","dependencies_parsed_at":"2023-11-27T15:31:20.100Z","dependency_job_id":"5ba11bd2-bcff-4fd3-8bb5-2d29f417f9e0","html_url":"https://github.com/lamyj/sycomore","commit_stats":{"total_commits":557,"total_committers":2,"mean_commits":278.5,"dds":"0.0053859964093356805","last_synced_commit":"36eaeec6f5fbe8666967167ae5550e117c5979ed"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fsycomore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fsycomore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fsycomore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamyj%2Fsycomore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamyj","download_url":"https://codeload.github.com/lamyj/sycomore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251683355,"owners_count":21626953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bloch-simulation","configuration-mo","diffusion","epg","extended-phase-graphs","magnetization-transfer","mri","mri-simulation-toolkit","simulation"],"created_at":"2024-11-17T11:20:45.163Z","updated_at":"2025-04-30T10:10:43.435Z","avatar_url":"https://github.com/lamyj.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sycomore \u0026mdash; an MRI simulation toolkit\n\n[![Conda Version](https://img.shields.io/conda/vn/conda-forge/sycomore.svg)](https://anaconda.org/conda-forge/sycomore)\n\nSycomore is an MRI simulation toolkit providing [isochromat simulation](https://sycomore.readthedocs.io/en/latest/isochromat.html) and [Extended Phase Graph (EPG)](https://sycomore.readthedocs.io/en/latest/epg/index.html). Sycomore is a Python packge in which all computationnaly-intensive operations are run by a C++ backend, providing a very fast runtime.\n\nSycomore is free software, released under the [MIT license][], and its source code is available on [GitHub][].\n\n## Installation\n\nPackaged versions of Sycomore are available on [Anaconda][] for Linux, macOS and Windows.\n\nTo install from [Anaconda][], type `conda install -c conda-forge sycomore`. Additional details, including building from source, are provided in the [documentation][].\n\n## Usage\n\nThe following code simulates a single repetition of a simple [RARE sequence][] using [regular EPG][] and plots the transverse magnetization of each echo.\n\n```python\nimport numpy\nimport sycomore\nfrom sycomore.units import *\n\nspecies = sycomore.Species(1000*ms, 100*ms)\nTE = 4*ms\ntrain_length = 40\n\nmodel = sycomore.epg.Regular(species)\nsignal = numpy.zeros(train_length, dtype=complex)\n\nmodel.apply_pulse(90*deg)\nfor echo in range(train_length):\n    model.apply_time_interval(TE/2)\n    model.apply_pulse(180*deg)\n    model.apply_time_interval(TE/2)\n    \n    signal[echo] = model.echo\n```\n\n![T2 decay in RARE](docs/rare.png \"T2 decay in RARE\")\n\nThe features and data structures are described in the documentation:\n\n- [Installing Sycomore](https://sycomore.readthedocs.io/en/latest/installation.html)\n- [Common features](https://sycomore.readthedocs.io/en/latest/common_features.html)\n- [Isochromat Simulation](https://sycomore.readthedocs.io/en/latest/isochromat.html)\n- [Extended Phase Graph](https://sycomore.readthedocs.io/en/latest/epg/index.html)\n\n[Anaconda]: https://anaconda.org/conda-forge/sycomore\n[documentation]: https://sycomore.readthedocs.io/en/latest/installation.html\n[GitHub]: https://github.com/lamyj/sycomore/\n[MIT license]: https://en.wikipedia.org/wiki/MIT_License\n[RARE sequence]: https://doi.org/10.1002/mrm.1910030602\n[regular EPG]: https://sycomore.readthedocs.io/en/latest/epg/regular.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamyj%2Fsycomore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamyj%2Fsycomore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamyj%2Fsycomore/lists"}