jcouto / sbxreader Goto Github PK
View Code? Open in Web Editor NEWReader for Neurolabware scanbox files
License: GNU General Public License v3.0
Reader for Neurolabware scanbox files
License: GNU General Public License v3.0
I think it will be great to add a to_numpy() function:
e.g.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.DataFrame.to_numpy.html
When doing np.array(dat) a view is returned, np.array(dat[:]) return the correct result, but maybe it would be good to change it so that np.array(dat) will also return an offset corrected data
np.array(dat[0])[0][0][0][0],np.array(dat)[0][0][0][0][0]
(21204, 44331)
Thanks
Hi,
In some of the rig setting, the .mat file save scanbox_version
using the value sbconfig.firmware
, which is the str(4.0) as you can see in the following screenshot:
Thus, when we do the suite2p registration using .sbx, it raises an error coming from https://github.com/jcouto/sbxreader/blob/main/sbxreader/reader.py#L60
Is it possible to change the if statement a bit? for example:
if isinstance(info.scanbox_version, str) or info.scanbox_version < 3:
um_per_pixel_x = info.calibration[magidx].x
um_per_pixel_y = info.calibration[magidx].y
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.