Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #89 from EricThomson/cnmfe_ui_update
Browse files Browse the repository at this point in the history
update cnmfe.py with spinbox data type changes
  • Loading branch information
kushalkolar committed Mar 13, 2022
2 parents 5cd490a + 5bc43c8 commit c1d54bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesmerize/viewer/modules/cnmfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_params(self, item_type: str, group_params: bool = False) -> dict:
'nb_patch': self.ui.spinBoxNb_patch.value(),
'K': kval,
'min_corr': self.ui.doubleSpinBoxMinCorr.value(),
'min_pnr': self.ui.spinBoxMinPNR.value(),
'min_pnr': self.ui.doubleSpinBoxMinPNR.value(),
'deconv_flag': deconv_flag,
'method_deconvolution': method_deconvolution,
'Ain': self.ui.lineEditAin.text().replace(' ', '').strip('\n'),
Expand Down Expand Up @@ -113,7 +113,7 @@ def get_params(self, item_type: str, group_params: bool = False) -> dict:
eval_kwargs = \
{
'fr': self.vi.viewer.workEnv.imgdata.meta['fps'],
'min_SNR': self.ui.spinBoxMinSNR.value(),
'min_SNR': self.ui.doubleSpinBoxMinSNR.value(),
'rval_thr': self.ui.doubleSpinBoxRValuesMin.value(),
'decay_time': self.ui.doubleSpinBoxDecayTime.value(),
}
Expand Down

0 comments on commit c1d54bc

Please sign in to comment.