mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:37:08 +00:00
Edit code comments
This commit is contained in:
@@ -232,7 +232,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
vesselTrackLinesLayer (options = {}) {
|
vesselTrackLinesLayer (options = {}) {
|
||||||
return new LineLayer({
|
return new LineLayer({ // TODO Change to TrackLayer
|
||||||
id: 'navl',
|
id: 'navl',
|
||||||
data: `/api/navdata?v=${Date.now()}`, // NOTE Not too sure about this
|
data: `/api/navdata?v=${Date.now()}`, // NOTE Not too sure about this
|
||||||
lineWidthMinPixels: 2,
|
lineWidthMinPixels: 2,
|
||||||
@@ -577,6 +577,7 @@ export default {
|
|||||||
const sr0 = [ stats.mean - 2.1*stats.sd, stats.mean + 2.1*stats.sd ];
|
const sr0 = [ stats.mean - 2.1*stats.sd, stats.mean + 2.1*stats.sd ];
|
||||||
const sr1 = [ stats.mode - 2.1*stats.sd, stats.mode + 2.1*stats.sd ];
|
const sr1 = [ stats.mode - 2.1*stats.sd, stats.mode + 2.1*stats.sd ];
|
||||||
|
|
||||||
|
/*
|
||||||
console.log('Positions sample:', positions.slice(0, 10));
|
console.log('Positions sample:', positions.slice(0, 10));
|
||||||
console.log('Weights sample:', weights.slice(0, 10));
|
console.log('Weights sample:', weights.slice(0, 10));
|
||||||
console.log("Mode:", this.heatmapValue);
|
console.log("Mode:", this.heatmapValue);
|
||||||
@@ -586,6 +587,7 @@ export default {
|
|||||||
console.log(sr1);
|
console.log(sr1);
|
||||||
console.log("Actual ranges");
|
console.log("Actual ranges");
|
||||||
console.log(colorDomain);
|
console.log(colorDomain);
|
||||||
|
*/
|
||||||
|
|
||||||
return new HeatmapLayer({
|
return new HeatmapLayer({
|
||||||
id: 'seqrh',
|
id: 'seqrh',
|
||||||
|
|||||||
Reference in New Issue
Block a user