tessproposaltool


Nametessproposaltool JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-04-23 17:43:36
maintainerNone
docs_urlNone
authorChristina Hedges
requires_python<4.0,>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a href="https://github.com/tessgi/tessproposaltool/actions/workflows/tests.yml"><img src="https://github.com/tessgi/tessproposaltool/workflows/pytest/badge.svg" alt="Test status"/></a> [!
[![PyPI version](https://badge.fury.io/py/tessproposaltool.svg)](https://badge.fury.io/py/tessproposaltool)

# TESS Proposal Tool

Under development tool to help create TESS proposals and target lists.

## Use Case 1: Filling in missing TICs in a target list

If you have a list of RAs, Decs, and optionally TESS magnitudes and you would like to crossmatch them against TIC, you can do this with the `tessproposaltool`. You can do this from the command line using:

```shell
tpt radec_file.csv -o output.csv
```

Which will result in a file `output.csv` that contains the corrected RA, Dec, TESS magnitude and TIC numbers.

Your file should have a structure that contains RAs, Decs, and optionally TESS magnitudes, e.g.:

```shell
ra,dec,tmag
40.2986,56.7305,9.39
110.093,-22.2673,13.51
116.243,-30.0918,9.5
152.633,-59.3549,10.05
163.437,-58.4871,9.91
165.091,-60.7688,12.974
```

To do this inside Python you can use

```python
from tessproposaltool import fill_tics

# read in your radecs, or convert them into a pandas dataframe
RA, Dec, Tmag = ..., ..., ...
df = pd.DataFrame(np.asarray([RA, Dec, Tmag]).T, columns=['ra', 'dec', 'tmag'])
new_df = fill_tics(df)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tessproposaltool",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Christina Hedges",
    "author_email": "christina.l.hedges@nasa.gov",
    "download_url": "https://files.pythonhosted.org/packages/8c/c1/5bd606bb5e053e70ee9d52f86c9ab47726d98e6b4b3f0a6daa255bdda503/tessproposaltool-0.1.2.tar.gz",
    "platform": null,
    "description": "<a href=\"https://github.com/tessgi/tessproposaltool/actions/workflows/tests.yml\"><img src=\"https://github.com/tessgi/tessproposaltool/workflows/pytest/badge.svg\" alt=\"Test status\"/></a> [!\n[![PyPI version](https://badge.fury.io/py/tessproposaltool.svg)](https://badge.fury.io/py/tessproposaltool)\n\n# TESS Proposal Tool\n\nUnder development tool to help create TESS proposals and target lists.\n\n## Use Case 1: Filling in missing TICs in a target list\n\nIf you have a list of RAs, Decs, and optionally TESS magnitudes and you would like to crossmatch them against TIC, you can do this with the `tessproposaltool`. You can do this from the command line using:\n\n```shell\ntpt radec_file.csv -o output.csv\n```\n\nWhich will result in a file `output.csv` that contains the corrected RA, Dec, TESS magnitude and TIC numbers.\n\nYour file should have a structure that contains RAs, Decs, and optionally TESS magnitudes, e.g.:\n\n```shell\nra,dec,tmag\n40.2986,56.7305,9.39\n110.093,-22.2673,13.51\n116.243,-30.0918,9.5\n152.633,-59.3549,10.05\n163.437,-58.4871,9.91\n165.091,-60.7688,12.974\n```\n\nTo do this inside Python you can use\n\n```python\nfrom tessproposaltool import fill_tics\n\n# read in your radecs, or convert them into a pandas dataframe\nRA, Dec, Tmag = ..., ..., ...\ndf = pd.DataFrame(np.asarray([RA, Dec, Tmag]).T, columns=['ra', 'dec', 'tmag'])\nnew_df = fill_tics(df)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26cc93f181dde2dfd965ce665e2944cbdf95a4ade1516d3d65d74fd80cddca82",
                "md5": "0d02e641cb6be906b03d9b54d9cd05eb",
                "sha256": "7d7d94cf329fe86ea3b03df91b3764c584d06526dabb31d47888b70a51aa2853"
            },
            "downloads": -1,
            "filename": "tessproposaltool-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0d02e641cb6be906b03d9b54d9cd05eb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 7362,
            "upload_time": "2024-04-23T17:43:35",
            "upload_time_iso_8601": "2024-04-23T17:43:35.058943Z",
            "url": "https://files.pythonhosted.org/packages/26/cc/93f181dde2dfd965ce665e2944cbdf95a4ade1516d3d65d74fd80cddca82/tessproposaltool-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8cc15bd606bb5e053e70ee9d52f86c9ab47726d98e6b4b3f0a6daa255bdda503",
                "md5": "42181ff83ba97636bee2481541560520",
                "sha256": "6bdf1aac58f12a71e79e090252579525a4a749e206c9ad0380ce476b4ab03f89"
            },
            "downloads": -1,
            "filename": "tessproposaltool-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "42181ff83ba97636bee2481541560520",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 5906,
            "upload_time": "2024-04-23T17:43:36",
            "upload_time_iso_8601": "2024-04-23T17:43:36.223902Z",
            "url": "https://files.pythonhosted.org/packages/8c/c1/5bd606bb5e053e70ee9d52f86c9ab47726d98e6b4b3f0a6daa255bdda503/tessproposaltool-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-23 17:43:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "tessproposaltool"
}
        
Elapsed time: 0.27380s