Skip to content

Commit

Permalink
modified doctree from _build
Browse files Browse the repository at this point in the history
  • Loading branch information
qudsiramiz committed Jan 1, 2025
1 parent 2aea4e3 commit 58c6c62
Show file tree
Hide file tree
Showing 41 changed files with 623 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/doctrees/citation.doctree
Binary file not shown.
Binary file added docs/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/doctrees/functions.doctree
Binary file not shown.
Binary file added docs/doctrees/index.doctree
Binary file not shown.
Binary file added docs/doctrees/install.doctree
Binary file not shown.
Binary file added docs/doctrees/modules.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/doctrees/rst_files/vignette/index.doctree
Binary file not shown.
59 changes: 59 additions & 0 deletions docs/jupyter_execute/rst_files/array_to_image/index.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "c760f72c",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-31T18:59:26.347758Z",
"iopub.status.busy": "2024-12-31T18:59:26.347330Z",
"iopub.status.idle": "2024-12-31T18:59:26.820488Z",
"shell.execute_reply": "2024-12-31T18:59:26.819994Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(100, 100)\n"
]
}
],
"source": [
"from lexi_bu.lexi import array_to_image\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"\n",
"# Create a 2D array\n",
"input_array = np.random.rand(100, 100)\n",
"\n",
"# Print the shape of the input array\n",
"# The shape should be (100, 100)\n",
"print(input_array.shape)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
17 changes: 17 additions & 0 deletions docs/jupyter_execute/rst_files/array_to_image/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env python
# coding: utf-8

# In[1]:


from lexi_bu.lexi import array_to_image
import numpy as np
import matplotlib.pyplot as plt

# Create a 2D array
input_array = np.random.rand(100, 100)

# Print the shape of the input array
# The shape should be (100, 100)
print(input_array.shape)

108 changes: 108 additions & 0 deletions docs/jupyter_execute/rst_files/get_exposure_maps/index.ipynb

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions docs/jupyter_execute/rst_files/get_exposure_maps/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python
# coding: utf-8

# In[1]:


from lexi_bu.lexi import get_exposure_maps

exposure_maps_dict = get_exposure_maps(
time_range=["2025-03-02 08:04:00", "2025-03-08 23:43:00"],
ra_range=[190, 310],
dec_range=[-33, 3],
ra_res=0.5,
dec_res=0.5,
save_exposure_map_file=False,
save_exposure_map_image=True,
verbose=False,
array_to_image_kwargs={"display": True}
)

print(exposure_maps_dict.keys())

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions docs/jupyter_execute/rst_files/get_lexi_data/index.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "100d4fb3",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-31T18:59:46.742015Z",
"iopub.status.busy": "2024-12-31T18:59:46.741642Z",
"iopub.status.idle": "2024-12-31T18:59:48.289041Z",
"shell.execute_reply": "2024-12-31T18:59:48.288104Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Downloading files from \u001b[95mdata/level_1c/cdf/1.0.0\u001b[00m on branch \u001b[92mstable\u001b[00m:\n",
"A total of \u001b[1;92m1917\u001b[0m files found\n",
"\n",
"Files to download: \u001b[1;92m9\u001b[0m\n",
"\n",
" Epoch_unix ra_J2000_deg dec_J2000_deg\n",
"Epoch_utc \n",
"2025-03-02 08:50:00+00:00 1740905400 204.737595 -10.064720\n",
"2025-03-02 08:50:00+00:00 1740905400 199.864853 -7.779826\n",
"2025-03-02 08:50:00+00:00 1740905400 200.145035 -15.348747\n",
"2025-03-02 08:50:00+00:00 1740905400 199.899582 -7.916301\n",
"2025-03-02 08:50:00+00:00 1740905400 205.031219 -12.977372\n"
]
}
],
"source": [
"from lexi_bu.lexi import get_lexi_data\n",
"\n",
"df_lexi = get_lexi_data(\n",
" time_range=[\"2025-03-02 08:50:00\", \"2025-03-02 09:23:00\"],\n",
" verbose=False\n",
")\n",
"\n",
"print(df_lexi.head())"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
15 changes: 15 additions & 0 deletions docs/jupyter_execute/rst_files/get_lexi_data/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# coding: utf-8

# In[1]:


from lexi_bu.lexi import get_lexi_data

df_lexi = get_lexi_data(
time_range=["2025-03-02 08:50:00", "2025-03-02 09:23:00"],
verbose=False
)

print(df_lexi.head())

94 changes: 94 additions & 0 deletions docs/jupyter_execute/rst_files/get_lexi_images/index.ipynb

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions docs/jupyter_execute/rst_files/get_lexi_images/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env python
# coding: utf-8

# In[1]:


from lexi_bu.lexi import get_lexi_images

lexi_images_dict = get_lexi_images(
time_range=["2025-03-04 08:53:41", "2025-03-04 09:23:41"],
ra_range=[220, 240],
dec_range=[-30, -15],
ra_res=1,
dec_res=1,
background_correction_on=False,
save_exposure_map_file=False,
save_sky_backgrounds_file=False,
save_exposure_map_image=False,
save_sky_backgrounds_image=False,
save_lexi_images=True,
verbose=False,
array_to_image_kwargs={"display": True}
)

print(lexi_images_dict.keys())

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 112 additions & 0 deletions docs/jupyter_execute/rst_files/get_sky_backgrounds/index.ipynb

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docs/jupyter_execute/rst_files/get_sky_backgrounds/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env python
# coding: utf-8

# In[1]:


from lexi_bu.lexi import get_sky_backgrounds

sky_background_dict = get_sky_backgrounds(
time_range=["2025-03-02 08:04:00", "2025-03-08 23:43:00"],
ra_range=[190, 310],
dec_range=[-33, 3],
ra_res=0.5,
dec_res=0.5,
save_exposure_map_file=False,
save_sky_backgrounds_file=False,
save_exposure_map_image=True,
save_sky_backgrounds_image=False,
verbose=False,
array_to_image_kwargs={"display": True}
)

print(sky_background_dict.keys())

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions docs/jupyter_execute/rst_files/get_spc_prams/index.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "a6015423",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-31T19:00:16.126658Z",
"iopub.status.busy": "2024-12-31T19:00:16.126372Z",
"iopub.status.idle": "2024-12-31T19:00:16.721277Z",
"shell.execute_reply": "2024-12-31T19:00:16.720700Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" RA DEC\n",
"epoch_utc \n",
"2025-03-02 08:50:00+00:00 3.518914 -0.197321\n",
"2025-03-02 08:50:05+00:00 3.518928 -0.197328\n",
"2025-03-02 08:50:10+00:00 3.518941 -0.197334\n",
"2025-03-02 08:50:15+00:00 3.518955 -0.197341\n",
"2025-03-02 08:50:20+00:00 3.518969 -0.197348\n"
]
}
],
"source": [
"from lexi_bu.lexi import get_spc_prams\n",
"\n",
"df_spc = get_spc_prams(\n",
" time_range=[\"2025-03-02 08:50:00\", \"2025-03-02 09:23:00\"],\n",
" verbose=False\n",
")\n",
"\n",
"print(df_spc.head())"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
15 changes: 15 additions & 0 deletions docs/jupyter_execute/rst_files/get_spc_prams/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
# coding: utf-8

# In[1]:


from lexi_bu.lexi import get_spc_prams

df_spc = get_spc_prams(
time_range=["2025-03-02 08:50:00", "2025-03-02 09:23:00"],
verbose=False
)

print(df_spc.head())

0 comments on commit 58c6c62

Please sign in to comment.