-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dual-reflection):
dual-reflection
mode now available for displ…
…aying multiple mass spectra re #3
- Loading branch information
1 parent
8d95bfb
commit e5cecb8
Showing
4 changed files
with
129 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#set par(justify: true) | ||
#set page(width: auto, height: auto, margin:1em) | ||
#set text(font: "Fira Sans", size: 7pt) | ||
|
||
#import "../src/lib.typ": * | ||
|
||
#let linalool-raw = csv("../assets/linalool.csv") | ||
#let linalool = linalool-raw.slice(1) | ||
|
||
#let isobut-epoxide-raw = csv("../assets/isobutelene_epoxide.csv") | ||
#let isobut-epoxide = isobut-epoxide-raw.slice(1) | ||
|
||
#let args = ( | ||
range: (0,150), | ||
) | ||
|
||
|
||
#let ms = mass-spectrum(isobut-epoxide, data2:linalool, args: args) | ||
|
||
#(ms.display)(mode: "dual-reflection") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,6 @@ | |
peaks: ( | ||
stroke: black | ||
), | ||
data1: (peaks: (stroke: blue)), | ||
data2: (peaks: (stroke: red)), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters