{"id":18620483,"url":"https://github.com/simonsobs/symlens","last_synced_at":"2025-04-11T02:31:06.025Z","repository":{"id":45546688,"uuid":"174179916","full_name":"simonsobs/symlens","owner":"simonsobs","description":"Symbolic mode-coupling evaluation. This library includes flat-sky CMB lensing, and lets you build custom estimators painlessly.","archived":false,"fork":false,"pushed_at":"2022-10-25T23:18:06.000Z","size":435,"stargazers_count":8,"open_issues_count":8,"forks_count":7,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-25T08:11:32.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonsobs.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-06T16:23:55.000Z","updated_at":"2023-08-04T15:24:43.000Z","dependencies_parsed_at":"2022-09-19T09:01:51.842Z","dependency_job_id":null,"html_url":"https://github.com/simonsobs/symlens","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fsymlens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fsymlens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fsymlens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fsymlens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsobs","download_url":"https://codeload.github.com/simonsobs/symlens/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247898513,"owners_count":21014721,"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":[],"created_at":"2024-11-07T04:06:19.260Z","updated_at":"2025-04-11T02:31:05.137Z","avatar_url":"https://github.com/simonsobs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. sectnum::\n\n=======\nsymlens\n=======\n\n.. image:: https://img.shields.io/pypi/v/symlens.svg\n        :target: https://pypi.python.org/pypi/symlens\n\n.. image:: https://img.shields.io/travis/simonsobs/symlens.svg\n        :target: https://travis-ci.org/simonsobs/symlens\n\n.. image:: https://readthedocs.org/projects/symlens/badge/?version=latest\n        :target: https://symlens.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n\n\n\nThis library allows one to build and evaluate arbitrary separable mode-coupling\nestimators. In practice, its main purpose is to provide a flat-sky lensing estimator\ncode. More generally, one can build estimators and noise functions for\nconvergence, magnification, shear, mixed estimators (for gradient cleaning),\nsplit-based lensing, birefringence, patchy tau, etc. and cross-covariances\nbetween these.\n\nInstead of having to calculate by hand the separable forms of the above, one\nsimply provides the mode-coupling and filter expressions, and a ``sympy``-based\n(Mathematica-like) backend factorizes these expressions into FFT-only form\n(i.e., no explicit convolutions are required).\n\nCurved sky support does not exist. Adding it is possibly non-trivial, but\nthoughts and ideas (and PRs!) are highly appreciated. Still, this package can\nserve as the backend for quick exploration of various kinds of estimators.\n\n* Free software: BSD license\n* Documentation: https://symlens.readthedocs.io.\n\nDependencies\n============\n\n* Python\u003e=3.6\n* pixell_\n* numpy, sympy\n\nInstalling\n==========\n\nTo install, run:\n\n.. code-block:: console\n\t\t\n   $ python setup.py install --user\n\nUsage\n=====\n\nSee the Usage_ guide and the API Reference_.\n\nAn important thing to remember is that by default, the code\nexpects \"physical\" normalization of FFTs in pixell (not the\ndefault normalization in pixell), i.e. you\nshould be passing in Fourier maps that come from something like\n\n.. code-block:: python\n\t\t\n   kmap = enmap.fft(imap,normalize='phys')\n\nor\n\n.. code-block:: python\n\t\t\n   kmaps = enmap.map2harm(imaps,normalize='phys')\n\n\n\nContributing\n------------\n\nIf you have write access to this repository, please:\n\n1. create a new branch\n2. push your changes to that branch\n3. merge or rebase to get in sync with master\n4. submit a pull request on github\n\nIf you do not have write access, create a fork of this repository and proceed as described above. \n\n.. _pixell: https://github.com/simonsobs/pixell/\n.. _Usage: https://symlens.readthedocs.io/en/latest/usage.html\n.. _Reference: https://symlens.readthedocs.io/en/latest/reference.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fsymlens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsobs%2Fsymlens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fsymlens/lists"}