sdss-lvmagp


Namesdss-lvmagp JSON
Version 0.3.6 PyPI version JSON
download
home_pagehttps://github.com/sdss/lvmagp
SummaryAquisition and guiding package for SDSS-V LVM
upload_time2023-03-10 23:57:29
maintainer
docs_urlNone
authorHojae Ahn
requires_python>=3.8,<4
licenseBSD-3-Clause
keywords astronomy software
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # lvmagp

[![Versions](https://img.shields.io/badge/python->3.7-blue)](https://img.shields.io/badge/python->3.7-blue)
[![Documentation Status](https://readthedocs.org/projects/sdss-lvmagp/badge/?version=latest)](https://sdss-lvmagp.readthedocs.io/en/latest/?badge=latest)
[![Travis (.org)](https://img.shields.io/travis/sdss/lvmagp)](https://travis-ci.org/sdss/lvmagp)
[![codecov](https://codecov.io/gh/sdss/lvmagp/branch/main/graph/badge.svg)](https://codecov.io/gh/sdss/lvmagp)

lvmagp which controls focuser, guide camera and mount. 

# Quickstart
## Install
    git clone --recurse-submodules -j8 --remote-submodules https://github.com/sdss/lvm.git
    cd lvm
    (cd lvmcam && git switch refactor && poetry update && poetry install)
    (cd lvmagp && git switch refactor && poetry update && poetry install)

# Run actors

    (cd lvmtan && poetry run container_start --kill --name lvm.all)
    (cd lvmpwi && poetry run container_start --simulator --name=lvm.sci.pwi&)

    (cd lvmcam && poetry run lvmcam -c python/lvmcam/etc/lvm.sci.agcam.yml start --debug &)
    (cd lvmcam && poetry run python utils/simple_camui.py &)

    (cd lvmagp && poetry run lvmagp -c python/lvmagp/etc/lvm.sci.agp.yml start --debug &)

# Run example scripts - maybe in a extra shell
    cd lvmagp 

    poetry run python python/lvm/tel/aquisition.py --help

    poetry run python python/lvm/tel/aquisition.py -r 22 -d -46 -v 

    poetry run python python/lvm/tel/focus.py -f -v

    poetry run python python/lvm/tel/calibrate.py -o 20 -v

## Guider start/stop from python shell
Do not use this in a python script without try/except.

    import sys
    import uuid
    from logging import DEBUG
    from clu import AMQPClient, CommandStatus
    from cluplus.proxy import Proxy, invoke, unpack
    
    amqpc = AMQPClient(name=f"{sys.argv[0]}.client-{uuid.uuid4().hex[:8]}")
    ag = Proxy(amqpc, "lvm.sci.ag").start()
    ag.guideStart()
    ag.status()
    ag.guideStop()



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sdss/lvmagp",
    "name": "sdss-lvmagp",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4",
    "maintainer_email": "",
    "keywords": "astronomy,software",
    "author": "Hojae Ahn",
    "author_email": "hojaeahn@khu.ac.kr",
    "download_url": "https://files.pythonhosted.org/packages/5f/09/b48bb08b3220460b584acfdd23eb32aab6d77b9a84d69286100fe3510f6b/sdss_lvmagp-0.3.6.tar.gz",
    "platform": null,
    "description": "# lvmagp\n\n[![Versions](https://img.shields.io/badge/python->3.7-blue)](https://img.shields.io/badge/python->3.7-blue)\n[![Documentation Status](https://readthedocs.org/projects/sdss-lvmagp/badge/?version=latest)](https://sdss-lvmagp.readthedocs.io/en/latest/?badge=latest)\n[![Travis (.org)](https://img.shields.io/travis/sdss/lvmagp)](https://travis-ci.org/sdss/lvmagp)\n[![codecov](https://codecov.io/gh/sdss/lvmagp/branch/main/graph/badge.svg)](https://codecov.io/gh/sdss/lvmagp)\n\nlvmagp which controls focuser, guide camera and mount. \n\n# Quickstart\n## Install\n    git clone --recurse-submodules -j8 --remote-submodules https://github.com/sdss/lvm.git\n    cd lvm\n    (cd lvmcam && git switch refactor && poetry update && poetry install)\n    (cd lvmagp && git switch refactor && poetry update && poetry install)\n\n# Run actors\n\n    (cd lvmtan && poetry run container_start --kill --name lvm.all)\n    (cd lvmpwi && poetry run container_start --simulator --name=lvm.sci.pwi&)\n\n    (cd lvmcam && poetry run lvmcam -c python/lvmcam/etc/lvm.sci.agcam.yml start --debug &)\n    (cd lvmcam && poetry run python utils/simple_camui.py &)\n\n    (cd lvmagp && poetry run lvmagp -c python/lvmagp/etc/lvm.sci.agp.yml start --debug &)\n\n# Run example scripts - maybe in a extra shell\n    cd lvmagp \n\n    poetry run python python/lvm/tel/aquisition.py --help\n\n    poetry run python python/lvm/tel/aquisition.py -r 22 -d -46 -v \n\n    poetry run python python/lvm/tel/focus.py -f -v\n\n    poetry run python python/lvm/tel/calibrate.py -o 20 -v\n\n## Guider start/stop from python shell\nDo not use this in a python script without try/except.\n\n    import sys\n    import uuid\n    from logging import DEBUG\n    from clu import AMQPClient, CommandStatus\n    from cluplus.proxy import Proxy, invoke, unpack\n    \n    amqpc = AMQPClient(name=f\"{sys.argv[0]}.client-{uuid.uuid4().hex[:8]}\")\n    ag = Proxy(amqpc, \"lvm.sci.ag\").start()\n    ag.guideStart()\n    ag.status()\n    ag.guideStop()\n\n\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Aquisition and guiding package for SDSS-V LVM",
    "version": "0.3.6",
    "split_keywords": [
        "astronomy",
        "software"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d0cbdbb56b4a8c4ee050de9f0e2c20c9ac509787e339e97633a6738f5ad90bd",
                "md5": "6433336c68522dc126e88d874838b52e",
                "sha256": "af38cb636159586f5a9576bc4ce83da9a4c42e99ee316a52076598b814786445"
            },
            "downloads": -1,
            "filename": "sdss_lvmagp-0.3.6-cp39-cp39-manylinux_2_35_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6433336c68522dc126e88d874838b52e",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8,<4",
            "size": 44870,
            "upload_time": "2023-03-10T23:57:28",
            "upload_time_iso_8601": "2023-03-10T23:57:28.124910Z",
            "url": "https://files.pythonhosted.org/packages/6d/0c/bdbb56b4a8c4ee050de9f0e2c20c9ac509787e339e97633a6738f5ad90bd/sdss_lvmagp-0.3.6-cp39-cp39-manylinux_2_35_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f09b48bb08b3220460b584acfdd23eb32aab6d77b9a84d69286100fe3510f6b",
                "md5": "2a9673cce0495c31e764b01042030a41",
                "sha256": "35ac36d06ba88479ae0dba4c7f1cd36d632ba1bd2f3e5ba8de39ffe48cd41558"
            },
            "downloads": -1,
            "filename": "sdss_lvmagp-0.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "2a9673cce0495c31e764b01042030a41",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4",
            "size": 30444,
            "upload_time": "2023-03-10T23:57:29",
            "upload_time_iso_8601": "2023-03-10T23:57:29.864350Z",
            "url": "https://files.pythonhosted.org/packages/5f/09/b48bb08b3220460b584acfdd23eb32aab6d77b9a84d69286100fe3510f6b/sdss_lvmagp-0.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-10 23:57:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "sdss",
    "github_project": "lvmagp",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sdss-lvmagp"
}
        
Elapsed time: 0.04348s