{ "info": { "author": "Geert Barentsen", "author_email": "hello@geert.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Astronomy" ], "description": "K2flix: Kepler/K2/TESS pixel data visualizer \n============================================\n**Create quicklook movies from the pixels observed by NASA's Kepler/K2/TESS spacecraft.**\n\n.. image:: http://img.shields.io/pypi/v/k2flix.svg\n :target: https://pypi.python.org/pypi/k2flix/\n :alt: PyPI\n\n.. image:: http://img.shields.io/travis/KeplerGO/k2flix/master.svg\n :target: http://travis-ci.org/KeplerGO/k2flix\n :alt: Travis status\n\n.. image:: http://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/barentsen/k2flix/blob/master/LICENSE\n :alt: MIT license\n\n.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.15576.svg\n :target: http://dx.doi.org/10.5281/zenodo.15576\n :alt: DOI\n\n.. image:: https://img.shields.io/badge/NASA%20ADS-2015ascl.soft03001B-blue.svg\n :target: http://adsabs.harvard.edu/abs/2015ascl.soft03001B\n :alt: ADS Bibcode\n\nK2flix makes it easy to inspect the CCD pixel data\nobtained by NASA's `Kepler `_\nand `TESS `_ space telescopes.\n\nThe need for this tool arises from the fact that all telescope data is\naffected by sources of noise such as pointing jitter and foreground asteroids,\nwhich are often more easily spotted by eye than by algorithm.\n\nThis tool takes Kepler's or TESS's *Target Pixel Files (TPF)* as input\nand turns them into contrast-stretched animated gifs or MPEG-4 movies.\nThese *TPF files* are publically available from the \n`Kepler archive `_,\nthe `K2 archive `_,\nor TESS simulations. \n\nK2flix can be used both as a command-line tool or using its Python API.\n\nExample\n-------\nAsteroids commonly pass in front of Kepler/K2 targets. \nWe can use k2flix to create a two-day animation of pixel data to view the asteroids whizzing past::\n\n $ k2flix --start 545 --stop 680 --step 1 --fps 12 --stretch linear --ut http://archive.stsci.edu\\\n /missions/k2/target_pixel_files/c1/201500000/72000/ktwo201572338-c01_lpd-targ.fits.gz\n\n.. image:: https://raw.githubusercontent.com/barentsen/k2flix/master/examples/epic-201572338.gif\n :alt: k2flix output example\n\nTo see many more examples, follow `@KeplerBot `_ on Twitter!\n\nInstallation\n------------\nIf you have a working installation of Python on your system, you can install k2flix using pip::\n\n $ pip install k2flix\n\nAlternatively, you can get the latest version by installing from source::\n\n $ git clone https://github.com/barentsen/k2flix.git\n $ cd k2flix\n $ python setup.py install\n\nUsing k2flix\n------------\nAfter installation, the `k2flix` tool will be available on the command line. You can then use it as follows.\n\nTo convert a Kepler pixel file to an animated gif::\n\n $ k2flix tpf-file.fits.gz\n\nTo convert a Kepler pixel file to an MPEG-4 movie::\n\n $ k2flix --o movie.mp4 tpf-file.fits.gz\n\nK2flix supports reading from web URLs, so you can generate a movie directly from the data archive::\n \n $ k2flix https://archive.stsci.edu/missions/k2/target_pixel_files/c1/201400000/00000/ktwo201400022-c01_lpd-targ.fits.gz\n\n\nTo see all the options, use the `--help` argument to see the full usage information::\n \n $ k2flix --help\n usage: k2flix [-h] [-v] [--output FILENAME] [--start START] [--stop STOP]\n [--step STEP] [--fps FPS] [--binning BINNING] [--dpi DPI]\n [--stretch STRETCH] [--min_cut MIN_CUT] [--max_cut MAX_CUT]\n [--min_percent %] [--max_percent %] [--cmap CMAP] [--flags]\n [--raw | --background | --cosmic]\n [--ut | --jd | --mjd | --bkjd | --cadence]\n tpf_filename [tpf_filename ...]\n\n Converts a Target Pixel File (TPF) from NASA's Kepler/K2/TESS spacecraft into\n an animated gif or MPEG-4 movie for human inspection.\n\n positional arguments:\n tpf_filename path to one or more Target Pixel Files (TPF)\n\n optional arguments:\n -h, --help show this help message and exit\n -v, --verbose\n --output FILENAME .gif or .mp4 output filename (default: gif with the same\n name as the input file)\n --start START first frame to show. Give the frame number (default 0),\n or a Julian Day if --jd/--mjd/--bkjd is set, or a cadence\n number if --cadence is set.\n --stop STOP final frame to show. Give the frame number (default: -1),\n or a Julian Day if --jd/--mjd/--bkjd is set, or a cadence\n number if --cadence is set.\n --step STEP spacing between frames (default: show 100 frames)\n --fps FPS frames per second (default: 15)\n --binning BINNING number of cadence to co-add per frame (default: 1)\n --dpi DPI resolution of the output in dots per K2 pixel (default:\n choose a dpi that produces a 440px-wide image)\n --stretch STRETCH type of contrast stretching: \"linear\", \"sqrt\", \"power\",\n \"log\", or \"asinh\" (default is \"log\")\n --min_cut MIN_CUT minimum cut level (default: use min_percent)\n --max_cut MAX_CUT maximum cut level (default: use max_percent)\n --min_percent % minimum cut percentile (default: 1.0)\n --max_percent % maximum cut percentile (default: 95)\n --cmap CMAP matplotlib color map name (default: gray)\n --flags show the quality flags\n --raw show the uncalibrated pixel counts ('RAW_CNTS')\n --background show the background flux ('FLUX_BKG')\n --cosmic show the cosmic rays ('COSMIC_RAYS')\n --ut use Universal Time for annotation (default)\n --jd use Julian Day for annotation and --start/--stop\n --mjd use Modified Julian Day for annotation and --start/--stop\n --bkjd use Kepler Julian Day for annotation and --start/--stop\n --cadence use Cadence Number for annotation and --start/--stop\n\nCiting\n------\nThis tool was created by Geert Barentsen at NASA's Kepler/K2 Guest Observer Office.\nIf this tool aided your research, please include a citation.\nThe code has been registered in the Astrophysics Source Code Library [`ascl:1503.001 `_] and the preferred BibTeX entry is::\n \n @MISC{2015ascl.soft03001B,\n author = {{Barentsen}, G.},\n title = \"{K2flix: Kepler pixel data visualizer}\",\n howpublished = {Astrophysics Source Code Library},\n year = 2015,\n month = mar,\n archivePrefix = \"ascl\",\n eprint = {1503.001},\n adsurl = {http://adsabs.harvard.edu/abs/2015ascl.soft03001B},\n adsnote = {Provided by the SAO/NASA Astrophysics Data System},\n doi = {10.5281/zenodo.15576},\n url = {http://dx.doi.org/10.5281/zenodo.15576}\n }\n\nContributing\n------------\nTo report bugs and request features, please use the `issue tracker `_. \nCode contributions are very welcome.\n\nLicense\n-------\nCopyright 2016 Geert Barentsen.\nK2flix is free software made available under the MIT License.\nFor details see the LICENSE file.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://barentsen.github.io/k2flix", "keywords": "kepler k2 astrophysics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "k2flix", "package_url": "https://pypi.org/project/k2flix/", "platform": "", "project_url": "https://pypi.org/project/k2flix/", "project_urls": { "Homepage": "http://barentsen.github.io/k2flix" }, "release_url": "https://pypi.org/project/k2flix/2.4.0/", "requires_dist": null, "requires_python": "", "summary": "Create beautiful quicklook movies from the pixel data observed by NASA's Kepler spacecraft.", "version": "2.4.0" }, "last_serial": 4341232, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ab0d6eca8907c1f82f7eee149f6e268b", "sha256": "a43bc35907ed8cdcad27d589b1f638ffef390ba76e015efdae9bd06c1fe2d042" }, "downloads": -1, "filename": "k2flix-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab0d6eca8907c1f82f7eee149f6e268b", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 11402, "upload_time": "2015-02-16T00:40:25", "url": "https://files.pythonhosted.org/packages/0f/ea/5096c6d2be4e0702a81ef8ed5e5d89ee2d3d0d0c2ae76611d8223d1cc87e/k2flix-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d9b80326f31a64e27fe3443ee2cbfb7c", "sha256": "0819af973e2ac817c2513f9c3e89edd76803ab4a2aef6ebe1386f1ab32100842" }, "downloads": -1, "filename": "k2flix-1.0.0-py3.4.egg", "has_sig": false, "md5_digest": "d9b80326f31a64e27fe3443ee2cbfb7c", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 17310, "upload_time": "2018-03-17T22:06:28", "url": "https://files.pythonhosted.org/packages/79/1d/2920034c614b17ec0a6fabbe333dd6cc9fbe2b6050392079a55084464fa9/k2flix-1.0.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "8b333e63d8eab8ff30ff199be3beca73", "sha256": "ee1baf125f46ddac238797b60a986c43a99525e23ba7490bc4a9b3fc7cccfda1" }, "downloads": -1, "filename": "k2flix-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8b333e63d8eab8ff30ff199be3beca73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8935, "upload_time": "2015-02-16T00:40:15", "url": "https://files.pythonhosted.org/packages/b4/cf/98465ae1b2a2bd59b47681bc52531c81d443c33329fc28d95b0bfa4018a8/k2flix-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "013189cb06e0576b3dc11be1b3db3c6e", "sha256": "956c1f3e6b69faabfd3d3ba53f845bc9d78fcecb06dec876072a1cf1c23b9751" }, "downloads": -1, "filename": "k2flix-1.1.0.tar.gz", "has_sig": false, "md5_digest": "013189cb06e0576b3dc11be1b3db3c6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14122, "upload_time": "2016-03-05T00:26:17", "url": "https://files.pythonhosted.org/packages/c5/60/18a088850fef4cb67e87e796367fc6d0d673efff78e7256d923f5f754be9/k2flix-1.1.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "8de30f740b254d95e4299f33ab706840", "sha256": "b54bcda0b05cd53b7a2148f785f3d3a0782b5f60dd10c73e4b24ea0aba5a09d5" }, "downloads": -1, "filename": "k2flix-2.0.0-py3.4.egg", "has_sig": false, "md5_digest": "8de30f740b254d95e4299f33ab706840", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 24569, "upload_time": "2018-03-17T22:06:30", "url": "https://files.pythonhosted.org/packages/ca/ba/3fa9d9f122e9a547cfd966f9c34d294e30f59c7a6abcdcdbc491ffb27af3/k2flix-2.0.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "d878b2f41e01c7c2c25a6d7737add62a", "sha256": "172035d6f261135982cc5b519689417fd95eebfdeee3a9b1727455ce4b4d0e9e" }, "downloads": -1, "filename": "k2flix-2.0.0.tar.gz", "has_sig": false, "md5_digest": "d878b2f41e01c7c2c25a6d7737add62a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14718, "upload_time": "2016-03-14T05:12:00", "url": "https://files.pythonhosted.org/packages/53/ea/e491d5e39ff4f001aae063c1c724190ee8486b61935e5e73960b2368d235/k2flix-2.0.0.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "517be1255a2e5091411edabf35cb2726", "sha256": "8caa3a0d8966bebeabf5031688896105ba7472ddb878471a3216315eb23e7d8a" }, "downloads": -1, "filename": "k2flix-2.1.0-py2.7.egg", "has_sig": false, "md5_digest": "517be1255a2e5091411edabf35cb2726", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 24498, "upload_time": "2018-03-17T22:06:32", "url": "https://files.pythonhosted.org/packages/58/e9/33d1a0a9ee6fd1cbcf0603835f550df127f8ab410823785402b0c88f1938/k2flix-2.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "394feb30ae012902266fc5a021bf02f1", "sha256": "ef7674c5e68826dc2410c978d30fd957abdc69d3d79c7112b27ce6df07eef57b" }, "downloads": -1, "filename": "k2flix-2.1.0.tar.gz", "has_sig": false, "md5_digest": "394feb30ae012902266fc5a021bf02f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15114, "upload_time": "2016-07-21T21:21:30", "url": "https://files.pythonhosted.org/packages/f8/b4/4e23904dcc8b40f23a3d36e88570943a51c511a1d919d740ce7aa4d339cd/k2flix-2.1.0.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "7aede7af478ec5be4573d03159cd2f31", "sha256": "ee729af9cac22fa61ff4d540ab65fa0fa359b8db780a504ef84de284490e9966" }, "downloads": -1, "filename": "k2flix-2.2.0.tar.gz", "has_sig": false, "md5_digest": "7aede7af478ec5be4573d03159cd2f31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16810, "upload_time": "2016-10-09T18:29:37", "url": "https://files.pythonhosted.org/packages/f2/ec/e5b3e932a71a70db2acede180a77ded3512b110d9c9bbc1add47c8d3f6d9/k2flix-2.2.0.tar.gz" } ], "2.3.0": [ { "comment_text": "", "digests": { "md5": "1cd7e45797e963987119868633b477d3", "sha256": "dfb15bdd795413bd8d2a063aec7ff2001829fa9bd4dfbe48c359fd2ab9cb94b1" }, "downloads": -1, "filename": "k2flix-2.3.0.tar.gz", "has_sig": false, "md5_digest": "1cd7e45797e963987119868633b477d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17233, "upload_time": "2016-10-16T23:43:38", "url": "https://files.pythonhosted.org/packages/d4/2b/d31e74525ecf1c166eca72cc874e393dec82f99bd6022edb3a8ad57b9b8d/k2flix-2.3.0.tar.gz" } ], "2.3.1": [ { "comment_text": "", "digests": { "md5": "87a03d7866e6963e18af15a35c942cd2", "sha256": "57fe0878c807200bc22ff1dd73bf771c5d2f2d4b819e3c36788b70e5db33834a" }, "downloads": -1, "filename": "k2flix-2.3.1.tar.gz", "has_sig": false, "md5_digest": "87a03d7866e6963e18af15a35c942cd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17319, "upload_time": "2018-03-17T22:06:42", "url": "https://files.pythonhosted.org/packages/91/c8/57ab7e687313c939a6725d9fc69074296e2be473a25150ccca98b4450312/k2flix-2.3.1.tar.gz" } ], "2.3.2": [ { "comment_text": "", "digests": { "md5": "a57ddb032bc5f09f7b8eb9cb5dd32adf", "sha256": "5679cd01e118d83012408965664cbf1f7df73868e4ef627a294038027b1fa32a" }, "downloads": -1, "filename": "k2flix-2.3.2.tar.gz", "has_sig": false, "md5_digest": "a57ddb032bc5f09f7b8eb9cb5dd32adf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16490, "upload_time": "2018-07-30T21:05:18", "url": "https://files.pythonhosted.org/packages/07/60/eca27b4c64585607dd28e475033d39e129f453fa2f1106cb6b1819dac397/k2flix-2.3.2.tar.gz" } ], "2.4.0": [ { "comment_text": "", "digests": { "md5": "2aff3015f427aa667f5b26aa0f6167de", "sha256": "6a9f285a3b6251dd5efff1dde02b2493255387d8febed421a7a565ee18ed544f" }, "downloads": -1, "filename": "k2flix-2.4.0.tar.gz", "has_sig": false, "md5_digest": "2aff3015f427aa667f5b26aa0f6167de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16500, "upload_time": "2018-10-04T17:43:35", "url": "https://files.pythonhosted.org/packages/c2/fa/a89a609546fc8dc1d1dd8887339c5b58c3d8d349e079c1c6567012e6ead7/k2flix-2.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2aff3015f427aa667f5b26aa0f6167de", "sha256": "6a9f285a3b6251dd5efff1dde02b2493255387d8febed421a7a565ee18ed544f" }, "downloads": -1, "filename": "k2flix-2.4.0.tar.gz", "has_sig": false, "md5_digest": "2aff3015f427aa667f5b26aa0f6167de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16500, "upload_time": "2018-10-04T17:43:35", "url": "https://files.pythonhosted.org/packages/c2/fa/a89a609546fc8dc1d1dd8887339c5b58c3d8d349e079c1c6567012e6ead7/k2flix-2.4.0.tar.gz" } ] }