mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Merge branch 'master' into ADC
This commit is contained in:
commit
9b17b8c41c
@ -364,7 +364,7 @@ draft: false
|
|||||||
var box = {
|
var box = {
|
||||||
x: noNanVals,
|
x: noNanVals,
|
||||||
amean: ss.mean(avals).toFixed(3),
|
amean: ss.mean(avals).toFixed(3),
|
||||||
name: key.toString() + " MAD : " + ss.mean(avals).toPrecision(4),
|
name: `${key.toString()} MAE : ${ss.mean(avals).toPrecision(4)} eV` ,
|
||||||
type: 'box',
|
type: 'box',
|
||||||
boxmean: 'sd'
|
boxmean: 'sd'
|
||||||
};
|
};
|
||||||
@ -379,19 +379,19 @@ draft: false
|
|||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
title: {
|
title: {
|
||||||
text: 'Energy (eV)',
|
text: 'Error (eV)',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
bgcolor: '#E2E2E2',
|
bgcolor: '#E2E2E2',
|
||||||
bordercolor: '#FFFFFF',
|
bordercolor: '#FFFFFF',
|
||||||
borderwidth: 2,
|
borderwidth: 2,
|
||||||
// autosize: false,
|
// autosize: false,
|
||||||
width: 850,
|
width: 1275,
|
||||||
height: 500,
|
height: 750,
|
||||||
margin: {
|
margin: {
|
||||||
l: 0,
|
l: 0,
|
||||||
r: 10,
|
r: 10,
|
||||||
b: 15,
|
// b: 15,
|
||||||
t: 20,
|
t: 20,
|
||||||
pad: 0,
|
pad: 0,
|
||||||
},
|
},
|
||||||
|
@ -238,7 +238,7 @@ class code:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def fromString(string):
|
def fromString(string):
|
||||||
vals = string.split(",")
|
vals = string.split(",")
|
||||||
return method(*vals)
|
return code(*vals)
|
||||||
|
|
||||||
def toDataString(self):
|
def toDataString(self):
|
||||||
string=self.name
|
string=self.name
|
||||||
|
Loading…
Reference in New Issue
Block a user