Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
johntron committed Sep 23, 2023
1 parent c0a104d commit e53f3a5
Show file tree
Hide file tree
Showing 88 changed files with 622 additions and 2,154 deletions.
1 change: 1 addition & 0 deletions .idea/astrophotography.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added color_balance.py
Empty file.
20 changes: 20 additions & 0 deletions image-processing/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: image-processing
channels:
- defaults
dependencies:
- python=3.10
- numpy
- matplotlib
- pandas
- seaborn
- scikit-image
- pip
- numpy
- astropy
- requests
- pip:
- photutils
- drizzle
- pyvo
- parallel-pandas
- opencv-python-headless
81 changes: 3 additions & 78 deletions image-processing/plate-solving/plate_solve.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,88 +2,13 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "initial_id",
"metadata": {
"collapsed": true,
"ExecuteTime": {
"end_time": "2023-09-03T17:51:38.435615Z",
"start_time": "2023-09-03T17:51:33.026611Z"
}
"is_executing": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting astropy\n",
" Obtaining dependency information for astropy from https://files.pythonhosted.org/packages/5a/f7/c7030f9d1190bcc49564432a4cb536494aecd7d3fcb654cc5d604c802607/astropy-5.3.2-cp311-cp311-macosx_11_0_arm64.whl.metadata\n",
" Downloading astropy-5.3.2-cp311-cp311-macosx_11_0_arm64.whl.metadata (9.4 kB)\n",
"Collecting photutils\n",
" Obtaining dependency information for photutils from https://files.pythonhosted.org/packages/57/ae/027bd894ca88dc26139ab828cc59180631d1b644e3b4088c2e4e78847ef9/photutils-1.9.0-cp311-cp311-macosx_11_0_arm64.whl.metadata\n",
" Downloading photutils-1.9.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (5.1 kB)\n",
"Collecting astroquery\n",
" Downloading astroquery-0.4.6-py3-none-any.whl (4.5 MB)\n",
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m4.5/4.5 MB\u001B[0m \u001B[31m30.1 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m00:01\u001B[0m00:01\u001B[0m\n",
"\u001B[?25hRequirement already satisfied: scikit-image in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (0.21.0)\n",
"Requirement already satisfied: numpy>=1.21 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from astropy) (1.25.2)\n",
"Collecting pyerfa>=2.0 (from astropy)\n",
" Downloading pyerfa-2.0.0.3-cp311-cp311-macosx_11_0_arm64.whl (333 kB)\n",
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m333.3/333.3 kB\u001B[0m \u001B[31m34.6 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m\n",
"\u001B[?25hRequirement already satisfied: PyYAML>=3.13 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from astropy) (6.0)\n",
"Requirement already satisfied: packaging>=19.0 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from astropy) (23.1)\n",
"Requirement already satisfied: requests>=2.4.3 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from astroquery) (2.31.0)\n",
"Requirement already satisfied: beautifulsoup4>=4.3.2 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from astroquery) (4.12.2)\n",
"Collecting html5lib>=0.999 (from astroquery)\n",
" Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB)\n",
"Collecting keyring>=4.0 (from astroquery)\n",
" Obtaining dependency information for keyring>=4.0 from https://files.pythonhosted.org/packages/0e/8f/5772801169cf62e8232721034f91f81e33b0cfa6e51d3bf6ff65c503af2a/keyring-24.2.0-py3-none-any.whl.metadata\n",
" Downloading keyring-24.2.0-py3-none-any.whl.metadata (20 kB)\n",
"Collecting pyvo>=1.1 (from astroquery)\n",
" Obtaining dependency information for pyvo>=1.1 from https://files.pythonhosted.org/packages/6f/d3/ce8d1ec673464caf53cf4f85d195f73ed1adc729a4acce22ac434fc64c79/pyvo-1.4.2-py3-none-any.whl.metadata\n",
" Downloading pyvo-1.4.2-py3-none-any.whl.metadata (4.2 kB)\n",
"Requirement already satisfied: scipy>=1.8 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (1.11.2)\n",
"Requirement already satisfied: networkx>=2.8 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (3.1)\n",
"Requirement already satisfied: pillow>=9.0.1 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (10.0.0)\n",
"Requirement already satisfied: imageio>=2.27 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (2.31.2)\n",
"Requirement already satisfied: tifffile>=2022.8.12 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (2023.8.30)\n",
"Requirement already satisfied: PyWavelets>=1.1.1 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (1.4.1)\n",
"Requirement already satisfied: lazy_loader>=0.2 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from scikit-image) (0.3)\n",
"Requirement already satisfied: soupsieve>1.2 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from beautifulsoup4>=4.3.2->astroquery) (2.4)\n",
"Requirement already satisfied: six>=1.9 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from html5lib>=0.999->astroquery) (1.16.0)\n",
"Requirement already satisfied: webencodings in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from html5lib>=0.999->astroquery) (0.5.1)\n",
"Collecting jaraco.classes (from keyring>=4.0->astroquery)\n",
" Obtaining dependency information for jaraco.classes from https://files.pythonhosted.org/packages/c7/6b/1bc8fa93ea85146e08f0e0883bc579b7c7328364ed7df90b1628dcb36e10/jaraco.classes-3.3.0-py3-none-any.whl.metadata\n",
" Using cached jaraco.classes-3.3.0-py3-none-any.whl.metadata (2.9 kB)\n",
"Collecting importlib-metadata>=4.11.4 (from keyring>=4.0->astroquery)\n",
" Obtaining dependency information for importlib-metadata>=4.11.4 from https://files.pythonhosted.org/packages/cc/37/db7ba97e676af155f5fcb1a35466f446eadc9104e25b83366e8088c9c926/importlib_metadata-6.8.0-py3-none-any.whl.metadata\n",
" Using cached importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from requests>=2.4.3->astroquery) (2.0.4)\n",
"Requirement already satisfied: idna<4,>=2.5 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from requests>=2.4.3->astroquery) (3.4)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from requests>=2.4.3->astroquery) (1.26.16)\n",
"Requirement already satisfied: certifi>=2017.4.17 in /Users/johntron/miniconda3/envs/image-processing/lib/python3.11/site-packages (from requests>=2.4.3->astroquery) (2023.7.22)\n",
"Collecting zipp>=0.5 (from importlib-metadata>=4.11.4->keyring>=4.0->astroquery)\n",
" Obtaining dependency information for zipp>=0.5 from https://files.pythonhosted.org/packages/8c/08/d3006317aefe25ea79d3b76c9650afabaf6d63d1c8443b236e7405447503/zipp-3.16.2-py3-none-any.whl.metadata\n",
" Using cached zipp-3.16.2-py3-none-any.whl.metadata (3.7 kB)\n",
"Collecting more-itertools (from jaraco.classes->keyring>=4.0->astroquery)\n",
" Obtaining dependency information for more-itertools from https://files.pythonhosted.org/packages/5a/cb/6dce742ea14e47d6f565589e859ad225f2a5de576d7696e0623b784e226b/more_itertools-10.1.0-py3-none-any.whl.metadata\n",
" Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB)\n",
"Downloading astropy-5.3.2-cp311-cp311-macosx_11_0_arm64.whl (7.0 MB)\n",
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m7.0/7.0 MB\u001B[0m \u001B[31m32.7 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0ma \u001B[36m0:00:01\u001B[0m\n",
"\u001B[?25hDownloading photutils-1.9.0-cp311-cp311-macosx_11_0_arm64.whl (650 kB)\n",
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m650.3/650.3 kB\u001B[0m \u001B[31m41.7 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m\n",
"\u001B[?25hDownloading keyring-24.2.0-py3-none-any.whl (37 kB)\n",
"Downloading pyvo-1.4.2-py3-none-any.whl (888 kB)\n",
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m888.9/888.9 kB\u001B[0m \u001B[31m42.7 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m\n",
"\u001B[?25hUsing cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)\n",
"Using cached jaraco.classes-3.3.0-py3-none-any.whl (5.9 kB)\n",
"Using cached zipp-3.16.2-py3-none-any.whl (7.2 kB)\n",
"Using cached more_itertools-10.1.0-py3-none-any.whl (55 kB)\n",
"Installing collected packages: zipp, pyerfa, more-itertools, html5lib, jaraco.classes, importlib-metadata, astropy, pyvo, photutils, keyring, astroquery\n",
"Successfully installed astropy-5.3.2 astroquery-0.4.6 html5lib-1.1 importlib-metadata-6.8.0 jaraco.classes-3.3.0 keyring-24.2.0 more-itertools-10.1.0 photutils-1.9.0 pyerfa-2.0.0.3 pyvo-1.4.2 zipp-3.16.2\n"
]
}
],
"outputs": [],
"source": [
"%%bash\n",
"pip install astropy photutils astroquery scikit-image"
Expand Down
Loading

0 comments on commit e53f3a5

Please sign in to comment.