{"id":47096929,"url":"https://github.com/la-niche/lick","last_synced_at":"2026-03-12T14:38:34.081Z","repository":{"id":62529666,"uuid":"427500911","full_name":"la-niche/lick","owner":"la-niche","description":"A high level Line Integral Convolution (LIC) library for Python, including post-processing and visualization","archived":false,"fork":false,"pushed_at":"2026-02-14T12:56:12.000Z","size":12674,"stargazers_count":5,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-14T21:40:07.585Z","etag":null,"topics":["fluid-dynamics","line-integral-convolution","magnetic-fields","matplotlib","post-processing","python","visualization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/la-niche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-12T21:28:59.000Z","updated_at":"2026-02-14T12:56:16.000Z","dependencies_parsed_at":"2023-10-03T19:41:16.389Z","dependency_job_id":"d746cf40-0c43-48eb-8a0f-b709b06ee978","html_url":"https://github.com/la-niche/lick","commit_stats":{"total_commits":64,"total_committers":5,"mean_commits":12.8,"dds":0.46875,"last_synced_commit":"d5fd6292422f059e9f112f355f637008a7392a5a"},"previous_names":["la-niche/lick"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/la-niche/lick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la-niche%2Flick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la-niche%2Flick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la-niche%2Flick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la-niche%2Flick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/la-niche","download_url":"https://codeload.github.com/la-niche/lick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la-niche%2Flick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30428482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: 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":["fluid-dynamics","line-integral-convolution","magnetic-fields","matplotlib","post-processing","python","visualization"],"created_at":"2026-03-12T14:38:29.812Z","updated_at":"2026-03-12T14:38:34.069Z","avatar_url":"https://github.com/la-niche.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lick\n[![PyPI](https://img.shields.io/pypi/v/lick.svg?logo=pypi\u0026logoColor=white\u0026label=PyPI)](https://pypi.org/project/lick/)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/la-niche/lick/main.svg)](https://results.pre-commit.ci/latest/github/la-niche/lick/main)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)\n\n\nLine Integral Convolution Knit : clothe a 2D field (ex: density field) with a LIC texture,\ngiven two vector fields (ex: velocity (vx, vy)).\n\nThis package builds on top of [rLIC](https://pypi.org/project/rlic), adding\npost-processing and visualization functionalities.\n\nAuthors: Gaylor Wafflard-Fernandez, Clément Robert\n\nAuthor-email: gaylor.wafflard@univ-grenoble-alpes.fr\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/la-niche/lick/main/imgs/lick.png\" width=\"600\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\nInstall with `pip`\n\n```\npip install lick\n```\n\nTo import lick:\n\n```python\nimport lick as lk\n```\n\nThe important functions are `lick_box` and `lick_box_plot`. While `lick_box` interpolates the data and perform a line integral convolution, `lick_box_plot` directly plots the final image. Use `lick_box` if you want to have more control of the plots you want to do with the lic. Use `lick_box_plot` if you want to take advantage of the fine-tuning of the pcolormesh parameters.\n\n## Example\n\n```python\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom lick import lick_box_plot\n\nfig, ax = plt.subplots()\nx = np.geomspace(0.1, 10, 128)\ny = np.geomspace(0.1, 5, 128)\na, b = np.meshgrid(x, y)\nv1 = np.cos(a)\nv2 = np.sin(b)\nfield = v1 ** 2 + v2 ** 2\nlick_box_plot(\n    fig,\n    ax,\n    x,\n    y,\n    v1,\n    v2,\n    field,\n    size_interpolated=256,\n    xmin=1,\n    xmax=9,\n    ymin=1,\n    ymax=4,\n    kernel=np.sin(np.linspace(0, np.pi, 64)),\n    niter_lic=5,\n    post_lic=\"north-west-light-source\",\n    cmap=\"inferno\",\n    stream_density=0.5,\n)\nplt.show()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fla-niche%2Flick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fla-niche%2Flick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fla-niche%2Flick/lists"}