Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 27, 2024
1 parent 90c0393 commit a96e3d6
Show file tree
Hide file tree
Showing 25 changed files with 216 additions and 729 deletions.
33 changes: 5 additions & 28 deletions tutorials/FITS-cubes/FITS-cubes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Required packages for this notebook:\n",
"astropy\n",
"astroquery\n",
"matplotlib\n",
"numpy\n",
"reproject\n",
"spectral_cube\n",
"\n"
]
}
],
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -850,22 +835,14 @@
}
],
"metadata": {
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
}
},
"nbformat": 4,
Expand Down
26 changes: 4 additions & 22 deletions tutorials/FITS-header/FITS-header.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Required packages for this notebook:\n",
"astropy\n",
"\n"
]
}
],
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -262,22 +252,14 @@
"name": "",
"published": true
},
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
}
},
"nbformat": 4,
Expand Down
30 changes: 5 additions & 25 deletions tutorials/FITS-images/FITS-images.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirements for running this notebook:\n",
"astropy\n",
"matplotlib\n",
"numpy\n",
"\n"
]
}
],
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -654,22 +642,14 @@
"name": "",
"published": true
},
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
}
},
"nbformat": 4,
Expand Down
30 changes: 5 additions & 25 deletions tutorials/FITS-tables/FITS-tables.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Required packages for this notebook:\n",
"astropy\n",
"matplotlib\n",
"numpy\n",
"\n"
]
}
],
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -372,22 +360,14 @@
"name": "",
"published": true
},
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
}
},
"nbformat": 4,
Expand Down
32 changes: 5 additions & 27 deletions tutorials/Models-Quick-Fit/Models-Quick-Fit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Required packages for this notebook:\n",
"astropy\n",
"astroquery\n",
"matplotlib\n",
"numpy\n",
"scipy\n",
"\n"
]
}
],
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -790,22 +776,14 @@
}
],
"metadata": {
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Required packages for this notebook:\n",
"astropy\n",
"astroquery\n",
"IPython\n",
"numpy\n",
"PIL\n",
"pylab\n",
"\n"
]
}
],
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -1180,22 +1165,14 @@
}
],
"metadata": {
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
},
"rise": {
"transition": "none"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Required packages for this notebook:\n",
"astropy\n",
"astroquery\n",
"IPython\n",
"numpy\n",
"PIL\n",
"pylab\n",
"\n"
]
}
],
"outputs": [],
"source": [
"with open('requirements.txt') as f:\n",
" print(f\"Required packages for this notebook:\\n{f.read()}\")"
Expand Down Expand Up @@ -1732,22 +1717,14 @@
],
"metadata": {
"celltoolbar": "Slideshow",
"kernelspec": {
"display_name": "astropy-tutorials",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"name": "ipython"
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.5"
"nbconvert_exporter": "python"
},
"rise": {
"transition": "none"
Expand Down
Loading

0 comments on commit a96e3d6

Please sign in to comment.