Skip to content

Commit b422c66

Browse files
committed
Add units flow page to docs
1 parent ce044e1 commit b422c66

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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: {"flowchart": {"htmlLabels": false}} }%%
9+
flowchart TB
10+
Source(["Source [PHOTLAM(/arcsec2)]"])
11+
FOV1[/"FOV.fields"/]
12+
FOV2["FOV.hdu [ph/s]"]
13+
FOV3[/"FOV.fields"/]
14+
FOV4["FOV.hdu [ph/s/um/arcsec2]"]
15+
FOV5["FOV.hdu [ph/s]"]
16+
SPT{{"`SpectralTrace:
17+
dispersion, sum(sky)`"}}
18+
IMP["ImagePlane [ph/s]"]
19+
Det1["Detector [ph]"]
20+
QECurve{{"QECurve: ph -> e-"}}
21+
Det2["Detector [e-]"]
22+
ADC{{"ADConversion: e- -> ADU"}}
23+
Det3["Detector [ADU]"]
24+
Output(["Output [ADU]"])
25+
26+
Source-- extract -->FOV1
27+
subgraph Imaging
28+
FOV1-- "sum(wave), *area" -->FOV2
29+
end
30+
Source-- extract -->FOV3
31+
subgraph Spectroscopy
32+
FOV3-- *area -->FOV4
33+
FOV4-->SPT
34+
SPT-->FOV5
35+
end
36+
FOV2-- project -->IMP
37+
FOV5-- project -->IMP
38+
IMP-- "readout: sum(time)" -->Det1
39+
Det1-->QECurve
40+
QECurve-->Det2
41+
Det2-->ADC
42+
ADC-->Det3
43+
Det3-->Output
44+
```

0 commit comments

Comments
 (0)