Giter VIP home page Giter VIP logo

ascam's People

Contributors

aplested avatar eckuru avatar imlew avatar opfermann avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

drjohndale

ascam's Issues

Window elements are not big enough to show full text

This happens with the idealization frame where the button that says "Drag lines to change parameters" is too narrow to display the full text and with the names of lists where e.g. when using ascam -t the name of the baseline corrected, gaussian filtered list named "BC_GFILTER1000_" is not fully displayed.

Selecting subsets of traces

for analysis, it is convenient to do threshold crossing only on the good traces. Therefore, a new feature to select the good traces and apply idealisation only to those is useful

add labels to the histogram

Currently it's not immediately clear which histogram corresponds to the episode and which is the aggregate of all data.

CK-filter is not functional

CK-filter can not be applied to the traces anymore. It is possible to type in the parameters but clicking 'OK' has no effect.
screenshot 2019-02-18 at 15 10 47

Window doesn't open automatically when ASCAM is started on macOS (12.4)

When trying to start ASCAM on a macOS Monterey I had problems. I am using a conda environment set up following the instructions on the README. I tried both using pythonw and using the automatically created ascam command.

Description:
After running ascam the standard logging information is printed and a window named "python" starts (appears in the tray). No error messages are displayed and the code runs through. The window isn't responsive and doesn't open (only appaers in the tray).

Solution:
The problem is solved by adding os.environ['QT_MAC_WANTS_LAYER'] = '1' in ascam.py ๐Ÿ™‚

Idealization freezes

After loading, filtering, baseline-correcting and idealising a file the idealisation freezes from time to time when you go through the episodes after clicking 'Demo'.
Usually one or more episodes contain the idealisation of the previous episode (screenshots). To get rid of it one can click back and forth through the episodes, i.e. from ep. 170 (wrongly idealised with idealisation of ep. 169) to ep. 169 back to 170 until the idealisation is correct.
It appears that the setting of the dead time is correlated to that issue since it was not possible so far to reproduce the bug when no dead time was set.

To reproduce the problem I used the following procedure:

Load file 180426000_selected.mat

Import: 40kHz SR, ms time scale, pA current trace, V Piezo command, mV holding potential

filter 1kHz Gaussian filter

set baseline to zero -> poly

Idealize: Amplitudes 0, -0.6, -1.24, -1.84, -2.45 and resolution 0.08 ms -> Demo

At episode 18 (screenshot 1) I saw the first time that the idealisation of episode 17 (screenshot 2) was mistakenly used for 18. When I jump back to 17 (screenshot 2) and then to 18 (screenshot 3) the idealisation is correct.

1
2
3

Dwell time histograms don't work

File "/Users/ecekuru/Projects/ASCAM/src/utils/widgets.py", line 86, in get_menu
    self.menu = QtGui.QMenu()
AttributeError: module 'PySide2.QtGui' has no attribute 'QMenu'. Did you mean: 'QPen'?

It's not possible to create a new idealization in an additional tab

  File "/Users/ecekuru/Projects/ASCAM/src/gui/analysis_widgets.py", line 210, in switch_tab
    self.parent.idealize_episode()
  File "/Users/ecekuru/Projects/ASCAM/src/gui/analysis_widgets.py", line 141, in idealize_episode
    self.current_tab.idealization_cache.idealize_episode()
AttributeError: 'NoneType' object has no attribute 'idealize_episode'

Exporting from ASCAM into .mat file doesn't export everything.

I want to export data from ASCAM into a .mat file after doing baseline correction and filtering. When I do this and load the file in MATLAB, only one variable time is loaded (1x4000 double). Somehow when I open the file in ASCAM I get the complete data, baseline corrected and filtered.

exporting filepath can be tuple

Not obvious how to reproduce but exporting to matlab once threw exception that filepath cannot be a tuple (in the line using .endswith)

Requirements need to be more specific

It seems that using >= for the requirement version was too optimistic. Some dependencies break when they are updated.
The easiest way to fix this is probably to pin the requirements to specific versions.

plots get stuck after idealisation

After finding the threshold values the plots get stuck after clicking 'Apply'. Switching to another series and then back resolves the problem. In raw you will also see the last idealized trace you viewed.

Setup fails to build wheel for axographio

I could get around this by running pip install axographio==0.3.1 separately (but not with the newest version 0.3.2`. Maybe another case of incompatible newer versions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.