Comments (4)
Maybe something like
print(myAbf._adcSection.fTelegraphAdditGain[0])
The 0
is the ADC channel, and you may need to try several numbers to get it right
from pyabf.
this work perfectly
Great to hear! 🚀
do you know if is a value I can change?
Interesting question! I don't think so... that is read when the ABF is first loaded, and all the data is loaded and scaled by that value when the class is initialized, so changing it later probably won't have an effect
Lines 466 to 484 in 06247e0
However you could probably reach in and modify what's in abf.data[channel]
based on your needs, then SetSweep()
calls later would returned that modified data.
Good luck!
from pyabf.
Hi @Asrilioss, this may be possible! It's a lot of info, but if you inspect the ABF header like this you may find the variable name you're looking for:
https://swharden.com/pyabf/tutorial/#inspect-the-abf-header
It will generate a report like: https://github.com/swharden/pyABF/blob/main/data/headers/2020_07_29_0062.md#adcsection
from pyabf.
Yeah I just found that I need to look at header I was looking headerV2 but your faster, thanks you for your answers and a fast one, this work perfectly, do you know if is a value I can change ?
Ty
from pyabf.
Related Issues (20)
- Support protocols with user list epoch durations HOT 10
- add type hints and improve documentation
- ABF() should accept a pathlib.Path
- Stop warning when invalid dates are detected
- refactor header reader into smaller files
- AttributeError in module pyabf.tools when trying to use Memtest HOT 2
- Fails to load files with more adc channels than dac channels HOT 3
- ABF.sampleRate
- FFT/Spectrogram analysis of ABF data HOT 10
- Memory usage builds up when iteratively open abf files HOT 6
- Tutorial code - Plot the Command Waveform HOT 1
- add return types to properties HOT 5
- investigate memory management in long-running applications HOT 2
- error: unpack requires a buffer of 1 bytes (end of file reached) HOT 5
- Folder loop with pyabf HOT 2
- parent/child grouping
- ValueError when printing the header HOT 3
- How to read the epoch that a user list is applied to?
- How to read a single sweep without loading the entire ABF into memory HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyabf.