@datagrok/compute 1.14.2 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/compute",
|
|
3
3
|
"friendlyName": "Compute",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.15.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Aufar Zakiev",
|
|
7
7
|
"email": "aufar.zakiev@softwarecountry.com"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/Compute"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@datagrok-libraries/compute-utils": "^1.
|
|
16
|
+
"@datagrok-libraries/compute-utils": "^1.15.0",
|
|
17
17
|
"cash-dom": "latest",
|
|
18
18
|
"datagrok-api": "^1.16.3",
|
|
19
19
|
"dayjs": "=1.11.7",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
//input: double heatCap = 4200 {caption: Heat capacity; units: J/C; category: Object properties}
|
|
10
10
|
//input: double heatTransferCoeff = 8.3 {caption: Heat transfer coefficient; units: W/(m² * C); category: Object properties}
|
|
11
11
|
//input: int simTime = 21600 {caption: Simulation time; units: sec; category: Simulation}
|
|
12
|
-
//output: dataframe simulation {caption: Temp. vs time
|
|
12
|
+
//output: dataframe simulation {caption: Temp. vs time; category: Output; viewer: Line chart(block: 75) | Grid(block: 25)}
|
|
13
13
|
//output: double timeToCool {caption: Time to cool; units: sec.; category: Output}
|
|
14
14
|
//output: double coolingFactor {caption: Cooling factor; units: 1 / sec.; category: Calculations}
|
|
15
15
|
//output: double tempDiff {caption: Temperature difference; units: C; category: Calculations}
|
package/scripts/pkpd.R
CHANGED
package/scripts/vmax.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//name: Vmax
|
|
2
2
|
//description: Predict the minimum filter size required for the separation of effluent from bioreactors, given the constraints of batch size and total batch time based on a training dataset of time vs filtrate volume for a given filter type, filter area and pressure
|
|
3
3
|
//language: javascript
|
|
4
|
-
//tags: filtration, scale-up
|
|
5
|
-
//meta.department: BTDS
|
|
4
|
+
//tags: filtration, scale-up, model
|
|
6
5
|
//meta.status: Upstream
|
|
7
6
|
//input: dataframe inputTable {caption: Input table; viewer: OutliersSelectionViewer(block: 25) | Scatter Plot(y: "t/V (hr/(L/m²))", block: 75, filter: "!${isOutlier}", showFilteredOutPoints: "true", filteredOutRowsColor: 4293991195, showRegressionLine: "true", markers: "isOutlier", lassoTool: "true", legendVisibility: "Never", filterByZoom: "false")}
|
|
8
7
|
//input: dataframe reportingParameters {caption: Reporting parameters; viewer: Grid()}
|
|
@@ -22,10 +21,6 @@
|
|
|
22
21
|
//meta.runOnOpen: true
|
|
23
22
|
//meta.runOnInput: true
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
// inputTable = grok.shell.tables[0]; reportingParameters = grok.shell.tables[1];
|
|
27
|
-
// testFilterArea = 3.5; desiredVolumeOfBatch = 25; desiredProcessTime = 0.5; sf = 1.5;
|
|
28
|
-
|
|
29
24
|
const COL_NAMES = {
|
|
30
25
|
INPUT_TIME_IN_MINUTES: "time (min)",
|
|
31
26
|
INPUT_VOLUME_IN_MILLILITERS: "filtrate volume (mL)",
|
|
@@ -197,7 +197,7 @@ export class OutliersSelectionViewer extends DG.JsViewer {
|
|
|
197
197
|
grok.shell.info(ui.div([
|
|
198
198
|
ui.divText('Confirm selected points as outliers?'),
|
|
199
199
|
ui.divH([
|
|
200
|
-
ui.
|
|
200
|
+
ui.bigButton('Confirm', confirmOutliers),
|
|
201
201
|
ui.button('Cancel', cancelOutliers)
|
|
202
202
|
])
|
|
203
203
|
]))
|