Skip to content

Commit

Permalink
Fix lowpass filter bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
abalijepalli committed Jun 30, 2021
1 parent 9b939c9 commit 26c6c6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion mosaicweb/static/js/analysisSetupCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,11 @@ angular.module('mosaicApp')
settings.abfTrajIO.start=0.0;
settings.abfTrajIO.dcOffset=0.0
};


if (factory.lowpassFilter) {
settings.besselLowpassFilter=factory.lowpassFilterSettings;
};
// console.log(settings)
};

factory.getSettingsString = function() {
Expand Down Expand Up @@ -520,6 +524,7 @@ angular.module('mosaicApp')

$scope.updateControls = function() {
$scope.model.reconcileSettings();
// console.log($scope.model.analysisSettings)
$scope.model.getSetupData("/new-analysis",
{
'settingsString': JSON.stringify($scope.model.analysisSettings),
Expand Down
2 changes: 1 addition & 1 deletion mosaicweb/static/partials/setupAnalysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h4 style="color: #696969;"><em>New Analysis Setup</em></h4>

<div layout="column" style="margin:6px; padding:6px">
<md-content class="md-whiteframe" style="margin: 0; padding: 0">
<md-switch class="md-primary" md-no-ink aria-label="Lowpass filter active (activate in Advanced Settings)" ng-model="model.lowpassFilter" name="lowpassFilter" ng-disabled="false">
<md-switch class="md-primary" md-no-ink aria-label="Lowpass filter active" ng-model="model.lowpassFilter" name="lowpassFilter" ng-disabled="false">
Enable Lowpass Filter
</md-switch>
</md-content>
Expand Down

0 comments on commit 26c6c6f

Please sign in to comment.