10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 21:24:00 +01:00

Add others excitationType

This commit is contained in:
Mickaël Véril 2020-01-06 21:03:06 +01:00
parent c5b02bc94b
commit c38cf55e79

View File

@ -5,6 +5,7 @@ class excitationTypes {
static get nPis() { return new excitationType(1 << 3, String.raw`n \rightarrow \pi^\star`) }
static get Single() { return new excitationType(1 << 4, "S") }
static get Double() { return new excitationType(1 << 5, "D") }
static get Others() { return new excitationType(1 << 6, String.raw`\mathrm{Others}`) }
static get All() {
var lst = []
for (const prop of Object.getOwnPropertyNames(excitationTypes)) {
@ -138,6 +139,9 @@ class excitationBase {
}
}
}
else{
this.type.Value=excitationTypes.Others
}
this.T1 = T1
}
}