Name | serfilesreader JSON |
Version |
0.0.8
JSON |
| download |
home_page | |
Summary | A library handling SER files |
upload_time | 2024-01-02 20:49:19 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pyserfilesreader
pyserfilesreader is a library helping you to use SER video files.
SER video files are used in astronomy to provide uncompressed container with header informations
CAUTION : don't read -yet- color (RGB) ser files.
## dependencies
LIBRARY :
- numpy
- cv2
pip3 install numpy cv2
GUI :
- pysimplegui-qt
- cv2
- numpy
pip3 install PySimpleGUIQt
## capabilities
reading a ser file
saving as png
saving as fit (another astronomical use file format)
## inside the loop
all datas are numpy array
# methods
.read() : return a numpy frame and go to the next frame
.getHeader() : return SER file header in a dictionnary
.readFrameAtPos(n:int) : return frame number n.
.getLength() : return number of frame in SER file.
.getWidth() : return width of a frame
.getHeight() : return height of a frame
.getCurrentPosition(): return current cursor value
.setCurrentPosition(n:int) : set the cursor at position n. Return position if OK, -1 if something's wrong.
.saveFit(filename) : save as FIT file filename frame at "cursor". Return (OK_Flag, filename)
.savePng(filename) : save as PNG file filename frame at "cursor". Return (OK_Flag, filename)
.nextFrame() : add 1 to cursor i.e. go to next frame. Return current cursor value. -1 if the end of th video.
.previousFrame() : remove 1 to cursor i.e. go to previous frame. Return current cursor value. -1 if it's from first frame..
.getName() return name of SER file.
Raw data
{
"_id": null,
"home_page": "",
"name": "serfilesreader",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "JB BUTET <ashashiwa@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/70/b5/56bee503a57f9ea8b96c0775d031b73f578d646522eecc898327d9342baa/serfilesreader-0.0.8.tar.gz",
"platform": null,
"description": "# pyserfilesreader\n\npyserfilesreader is a library helping you to use SER video files.\n\nSER video files are used in astronomy to provide uncompressed container with header informations\n\nCAUTION : don't read -yet- color (RGB) ser files.\n\n## dependencies\nLIBRARY :\n- numpy\n- cv2\n\npip3 install numpy cv2\n\nGUI : \n- pysimplegui-qt\n- cv2\n- numpy\n\npip3 install PySimpleGUIQt\n\n## capabilities\nreading a ser file\nsaving as png\nsaving as fit (another astronomical use file format)\n\n## inside the loop\nall datas are numpy array\n\n# methods\n .read() : return a numpy frame and go to the next frame\n .getHeader() : return SER file header in a dictionnary\n .readFrameAtPos(n:int) : return frame number n.\n .getLength() : return number of frame in SER file.\n .getWidth() : return width of a frame\n .getHeight() : return height of a frame\n .getCurrentPosition(): return current cursor value\n .setCurrentPosition(n:int) : set the cursor at position n. Return position if OK, -1 if something's wrong.\n .saveFit(filename) : save as FIT file filename frame at \"cursor\". Return (OK_Flag, filename)\n .savePng(filename) : save as PNG file filename frame at \"cursor\". Return (OK_Flag, filename)\n .nextFrame() : add 1 to cursor i.e. go to next frame. Return current cursor value. -1 if the end of th video.\n .previousFrame() : remove 1 to cursor i.e. go to previous frame. Return current cursor value. -1 if it's from first frame..\n .getName() return name of SER file.\n\n\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A library handling SER files",
"version": "0.0.8",
"project_urls": {
"Homepage": "https://gitlab.com/ashashiwa/pyserfilesreader"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1578523947668cc1af6e54940370b63f40911ba92055a2a298ce3d2f95ab9b8d",
"md5": "f4eae3b89eb9ccd0de63ad8154b2f8d2",
"sha256": "7cb60c668dac622742300b99683a8f175269b742429b761baddd9ebf5b1a6f7f"
},
"downloads": -1,
"filename": "serfilesreader-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f4eae3b89eb9ccd0de63ad8154b2f8d2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 16588,
"upload_time": "2024-01-02T20:49:17",
"upload_time_iso_8601": "2024-01-02T20:49:17.870701Z",
"url": "https://files.pythonhosted.org/packages/15/78/523947668cc1af6e54940370b63f40911ba92055a2a298ce3d2f95ab9b8d/serfilesreader-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "70b556bee503a57f9ea8b96c0775d031b73f578d646522eecc898327d9342baa",
"md5": "9a8a38e352f354328afb4f6e923df451",
"sha256": "bd6af99e36883f00bef38ef435440e360e7a3015164c387411e082c360c4ca40"
},
"downloads": -1,
"filename": "serfilesreader-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "9a8a38e352f354328afb4f6e923df451",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 10455,
"upload_time": "2024-01-02T20:49:19",
"upload_time_iso_8601": "2024-01-02T20:49:19.719648Z",
"url": "https://files.pythonhosted.org/packages/70/b5/56bee503a57f9ea8b96c0775d031b73f578d646522eecc898327d9342baa/serfilesreader-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-02 20:49:19",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "ashashiwa",
"gitlab_project": "pyserfilesreader",
"lcname": "serfilesreader"
}