We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358938d commit 6acd543Copy full SHA for 6acd543
docs/index.rst
@@ -7,6 +7,32 @@ spaceflight.
7
8
|
9
10
+Examples
11
+--------
12
+Load and display a single FITS file.
13
+
14
+.. jupyter-execute::
15
16
+ import matplotlib.pyplot as plt
17
+ import named_arrays as na
18
+ import msfc_ccd
19
20
+ # Load the sample image
21
+ image = msfc_ccd.fits.open(msfc_ccd.samples.path_fe55_esis1)
22
23
+ # Display the sample image
24
+ fig, ax = plt.subplots(
25
+ constrained_layout=True,
26
+ )
27
+ im = na.plt.imshow(
28
+ image.outputs.value,
29
+ axis_x=image.axis_x,
30
+ axis_y=image.axis_y,
31
+ ax=ax,
32
+ );
33
34
+|
35
36
37
API Reference
38
=============
0 commit comments