Skip to content

Commit 485aaf0

Browse files
committed
MAINT: removing the animated gif as it only causes issues in testing
1 parent 4f08422 commit 485aaf0

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

tutorials/openuniversesims/openuniverse2024_roman_simulated_timedomainsurvey.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ jupytext:
44
extension: .md
55
format_name: myst
66
format_version: 0.13
7-
jupytext_version: 1.16.2
7+
jupytext_version: 1.16.7
88
kernelspec:
9-
display_name: science_demo
9+
display_name: Python 3 (ipykernel)
1010
language: python
1111
name: python3
1212
---
@@ -52,11 +52,11 @@ from scipy.ndimage import rotate
5252
5353
# Needed to access data in the cloud
5454
import s3fs
55-
s3 = s3fs.S3FileSystem(anon=True) # create an S3 client
55+
s3 = s3fs.S3FileSystem(anon=True) # create an S3 client
5656
5757
# Filter out the FITSFixedWarning, which is consequenceless and gets thrown every time you deal with a WCS
5858
# in a Roman openuniverse simulated image using astropy.
59-
warnings.simplefilter('ignore',category=FITSFixedWarning)
59+
warnings.simplefilter('ignore', category=FITSFixedWarning)
6060
```
6161

6262
## Define a module to get the date (mjd) of a particular pointing.
@@ -86,7 +86,7 @@ def get_mjd(pointing,
8686
## Define a module to create an animated gif from a collection of cutouts.
8787

8888
```{code-cell} ipython3
89-
def animate_stamps(stamps,savepath,no_whitespace=True,
89+
def animate_stamps(stamps, savepath, no_whitespace=True,
9090
labels=[],labelxy=(0.05,0.95),
9191
**kwargs):
9292
"""
@@ -290,13 +290,9 @@ for i, row in enumerate(instances.itertuples()):
290290
```{code-cell} ipython3
291291
savepath = f'SN{oid}.gif'
292292
savepath
293-
animate_stamps(stamps,savepath,labels=mjd)
293+
animate_stamps(stamps, savepath, labels=mjd)
294294
```
295295

296-
![animated gif](SN20000808.gif)
297-
298-
+++
299-
300296
***
301297

302298
## About this notebook

0 commit comments

Comments
 (0)