{"id":18620496,"url":"https://github.com/simonsobs/lat_mflike","last_synced_at":"2025-04-11T02:31:07.616Z","repository":{"id":36251085,"uuid":"176758916","full_name":"simonsobs/LAT_MFLike","owner":"simonsobs","description":"Multifrequency Likelihood for SO Large Aperture Telescope","archived":false,"fork":false,"pushed_at":"2025-04-01T15:25:46.000Z","size":69432,"stargazers_count":4,"open_issues_count":4,"forks_count":12,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-01T16:35:40.021Z","etag":null,"topics":["cmb","cobaya","likelihood"],"latest_commit_sha":null,"homepage":"https://lat-mflike.readthedocs.io","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":null,"contributing":null,"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-03-20T15:05:26.000Z","updated_at":"2025-04-01T15:25:49.000Z","dependencies_parsed_at":"2023-12-11T10:26:03.527Z","dependency_job_id":"42886d64-3330-4036-b26e-846da73f6ee0","html_url":"https://github.com/simonsobs/LAT_MFLike","commit_stats":{"total_commits":377,"total_committers":23,"mean_commits":"16.391304347826086","dds":0.636604774535809,"last_synced_commit":"894e3f30cdeb630aa88fef9eb0500c6212d9ce8a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2FLAT_MFLike","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2FLAT_MFLike/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2FLAT_MFLike/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2FLAT_MFLike/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsobs","download_url":"https://codeload.github.com/simonsobs/LAT_MFLike/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248329547,"owners_count":21085557,"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":["cmb","cobaya","likelihood"],"created_at":"2024-11-07T04:06:36.394Z","updated_at":"2025-04-11T02:31:06.138Z","avatar_url":"https://github.com/simonsobs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=============================\nLAT Multifrequency Likelihood\n=============================\n\nAn external likelihood using `cobaya \u003chttps://github.com/CobayaSampler/cobaya\u003e`_.\n\n.. image:: https://img.shields.io/pypi/v/mflike.svg?style=flat\n   :target: https://pypi.python.org/pypi/mflike\n\n.. image:: https://img.shields.io/github/actions/workflow/status/simonsobs/LAT_MFLike/testing.yml?branch=master\n   :target: https://github.com/simonsobs/LAT_MFLike/actions\n\n.. image:: https://readthedocs.org/projects/lat-mflike/badge/?version=latest\n   :target: https://lat-mflike.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://mybinder.org/badge_logo.svg\n   :target: https://mybinder.org/v2/gh/simonsobs/LAT_MFLike/master?filepath=notebooks%2Fmflike_tutorial.ipynb\n\n.. image:: https://codecov.io/gh/simonsobs/LAT_MFLike/branch/master/graph/badge.svg?token=qrrVcbNCs5\n   :target: https://codecov.io/gh/simonsobs/LAT_MFLike\n\n\nInstalling the code\n-------------------\n\nThe easiest way to install and to use ``mflike`` likelihood is *via* ``pip``\n\n.. code:: shell\n\n    pip install mflike\n\nIf you want to dig into the code, you'd better clone this repository to some location\n\n.. code:: shell\n\n    git clone https://github.com/simonsobs/LAT_MFLike.git /where/to/clone\n\nThen you can install the ``mflike`` likelihood and its dependencies *via*\n\n.. code:: shell\n\n    pip install -e /where/to/clone\n\nThe ``-e`` option allow the developer to make changes within the ``mflike`` directory without having\nto reinstall at every changes. If you plan to just use the likelihood and do not develop it, you can\nremove the ``-e`` option.\n\nInstalling LAT likelihood data\n------------------------------\n\nPreliminary simulated data can be found at `NERSC\n\u003chttps://portal.nersc.gov/cfs/sobs/users/MFLike_data\u003e`_. You can download them by yourself but you\ncan also use the ``cobaya-install`` binary and let it do the installation job. For instance, if you\ndo the next command\n\n.. code:: shell\n\n    cobaya-install /where/to/clone/examples/mflike_example.yaml -p /where/to/put/packages\n\ndata and code such as `CAMB \u003chttps://github.com/cmbant/CAMB\u003e`_ will be downloaded and installed\nwithin the ``/where/to/put/packages`` directory. For more details, you can have a look to ``cobaya``\n`documentation \u003chttps://cobaya.readthedocs.io/en/latest/installation_cosmo.html\u003e`_.\n\nRunning/testing the code\n------------------------\n\nYou can test the ``mflike`` likelihood by doing\n\n.. code:: shell\n\n    cobaya-run /where/to/clone/examples/mflike_example.yaml -p /where/to/put/packages\n\nwhich should run a MCMC sampler for the simulation n°44 (*i.e.* ``data_sacc_00044.fits`` in the\n``mflike_example.yaml`` file) using the combination of TT, TE and EE spectra (*i.e.*\n``polarizations: ['TT', 'TE', 'ET', 'EE']``). The results will be stored in the ``chains/mcmc``\ndirectory.\n\nSimulation releases\n-------------------\n\n- ``v0.8`` release has spectra produced with high accuracy camb parameters up to ``ell = 9000``, the foreground components are integrated in frequency using top-hat bandpasses, stored in the ``sacc`` files\n\n- ``v0.7.1`` is a bugfix release of ``v0.7`` release where the mono-frequency and dirac bandpasses\n  have been correctly set with the ``sacc`` files\n\n- ``v0.7`` release includes the ACT like foregrounds. Simulation parameters are also stored within ``sacc`` metadata and the associated ``dict`` file can be viewed `here \u003chttps://gist.github.com/xgarrido/5d2fdbe4232cfa9ad1156ee30baa7811\u003e`_.\n\n- ``v0.6`` release make use of CMB map based simulations (see https://github.com/simonsobs/map_based_simulations/blob/master/201911_lensed_cmb/README.md). Only temperature foregrounds were considered.\n\nReleases prior to ``v0.6`` version were development simulations and should not be used for simulation analysis.\n\nContributors\n------------\n\n.. image:: https://contrib.rocks/image?repo=simonsobs/LAT_MFLike\n   :target: https://github.com/simonsobs/LAT_MFLike/graphs/contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Flat_mflike","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsobs%2Flat_mflike","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Flat_mflike/lists"}