Skip to content

Commit

Permalink
Clean up more data utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykubica committed Sep 9, 2024
1 parent f6770b7 commit 4955eda
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 815 deletions.
9 changes: 1 addition & 8 deletions notebooks/Kbmod_Reference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"metadata": {},
"outputs": [],
"source": [
"from kbmod.data_interface import load_deccam_layered_image\n",
"from kbmod.file_utils import load_deccam_layered_image\n",
"\n",
"im = load_deccam_layered_image(im_file, p)\n",
"print(f\"Loaded a {im.get_width()} by {im.get_height()} image at time {im.get_obstime()}\")"
Expand Down Expand Up @@ -526,13 +526,6 @@
"# These top_results are all be duplicating searches on the same bright object we added.\n",
"top_results[:20]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
7 changes: 3 additions & 4 deletions notebooks/kbmod_search_results_for_fakes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"import os\n",
"\n",
"from kbmod.analysis.plotting import *\n",
"from kbmod.data_interface import load_deccam_layered_image\n",
"from kbmod.search import ImageStack, PSF, StampCreator, Trajectory\n",
"from kbmod.results import Results\n",
"from kbmod.work_unit import WorkUnit\n",
Expand Down Expand Up @@ -260,9 +259,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Wilson’s KBMOD Analysis",
"display_name": "Jeremy's KBMOD",
"language": "python",
"name": "wbeebe_kbmod_analysis"
"name": "kbmod_jk"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -274,7 +273,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.12.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion notebooks/kbmod_visualize.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"import os\n",
"\n",
"from kbmod.analysis.plotting import *\n",
"from kbmod.data_interface import load_deccam_layered_image\n",
"from kbmod.file_utils import load_deccam_layered_image\n",
"from kbmod.search import ImageStack, PSF, StampCreator, Trajectory\n",
"from kbmod.results import Results\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion src/kbmod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def is_interactive():

from . import ( # noqa: F401
analysis,
data_interface,
file_utils,
filters,
jointfit_functions,
Expand Down
287 changes: 0 additions & 287 deletions src/kbmod/data_interface.py

This file was deleted.

Loading

0 comments on commit 4955eda

Please sign in to comment.