File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 'sphinx.ext.doctest' ,
6868 'sphinx.ext.napoleon' ,
6969 'sphinx_copybutton' ,
70+ 'sphinxcontrib.mermaid' ,
7071 'myst_nb' ,
7172]
7273
Original file line number Diff line number Diff line change 1+ # Approximate sketch of "units flow" in ScopeSim
2+
3+ Effects that change units are shown in hexagonal boxes.
4+ Rectangular boxes are basically ` ImageHDU ` wrappers.
5+ Parallelogram boxes are lists of other entities.
6+
7+ ``` {mermaid}
8+ %%{init: {"theme": "dark"} }%%
9+ flowchart TB
10+ Source(["`Source
11+ [ph/cm2/s/AA(/arcsec2)]
12+ [PHOTLAM(/arcsec2)]`"])
13+ FOV1[/"`FOV.fields
14+ [ph/cm2/s/AA(/arcsec2)]`"/]
15+ FOV2["`FOV.hdu
16+ [ph/s]`"]
17+ FOV3[/"`FOV.fields
18+ [ph/cm2/s/AA(/arcsec2)]`"/]
19+ FOV4["`FOV.hdu
20+ [ph/s/um/arcsec2]`"]
21+ FOV5["`FOV.hdu
22+ [ph/s]`"]
23+ SPT{{"`SpectralTrace:
24+ dispersion, sum(sky)`"}}
25+ IMP["`ImagePlane
26+ [ph/s]`"]
27+ Det1["`Detector
28+ [ph/s]`"]
29+ QECurve{{"`QECurve:
30+ ph/s -> e-/s`"}}
31+ Det2["`Detector
32+ [e-/s]`"]
33+ SE{{"`ExposureIntegration:
34+ sum(time)`"}}
35+ Det3["`Detector
36+ [e-]`"]
37+ ADC{{"`ADConversion:
38+ e- -> ADU`"}}
39+ Det4["`Detector
40+ [ADU]`"]
41+ Output(["`Output
42+ [ADU]`"])
43+
44+ Source-- extract -->FOV1
45+ subgraph Imaging
46+ FOV1-- "sum(wave), *area" -->FOV2
47+ end
48+ Source-- extract -->FOV3
49+ subgraph Spectroscopy
50+ FOV3-- *area -->FOV4
51+ FOV4-->SPT
52+ SPT-->FOV5
53+ end
54+ FOV2-- project -->IMP
55+ FOV5-- project -->IMP
56+ IMP-- "extract" -->Det1
57+ Det1-->QECurve
58+ QECurve-->Det2
59+ Det2-->SE
60+ SE-->Det3
61+ Det3-->ADC
62+ ADC-->Det4
63+ Det4-->Output
64+ ```
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ jupyter-sphinx = ">=0.5.3"
6565sphinx-copybutton = " ^0.5.2"
6666myst-nb = " ^1.2.0"
6767sphinxcontrib-apidoc = " >=0.6.0"
68+ sphinxcontrib-mermaid = " ^1.0.0"
6869nbsphinx = " ^0.9.6"
6970numpydoc = " ^1.6.0"
7071scopesim_templates = " >=0.6.0"
You can’t perform that action at this time.
0 commit comments