Comments (13)
Great! thanks again
from brkraw.
I think if its not already there --ignore-offset should go with this.
from brkraw.
I think we should try to implement the spec as-is, even if we've never seen values for some things. This kind of correction is important for quantitative acquisions.
I think rather, I'd like three options
--ignore-slope
--ignore-offset
--ignore-rescaling
Where --ignore-rescaling disables both.
from brkraw.
@gdevenyi It makes sense to me. I will implement those three options on the next update. Thank you for the suggestion!
from brkraw.
@egarza It seems what you are asking is the way to remove data slope.
I just add the option --ignore_slope
just add it to your command. such as
pip install --upgrade git+https://github.com/brkraw/bruker
then
brkraw gui --ignore_slope
or
brkraw tonii --ignore_slope <raw data path>
Hope this can solve your issue.
from brkraw.
@egarza Since I had an additional update, you can use this function from 0.3.3rc8
from brkraw.
Could you close this issue if you don't have any problem with the new option? Thank you!
from brkraw.
@gdevenyi I've already made the changes but if the term --ignore-offset is more suitable, I will update it for 0.3.3 release version.
Thank you for your comment!
from brkraw.
sorry, thats not what I mean. The bruker specifies a scaling as an offset + a slope to remap the on-disk data into a different data range. If we have an --ignore-slope parameter, we should also have an --ignore-offset parameter
from brkraw.
See https://github.com/SebastianoF/bruker2nifti/blob/6cf20451a135e9d001a39ad2bd6efc81c253c609/bruker2nifti/_cores.py for example
from brkraw.
@gdevenyi I got what your point now. The reason I only handled this is before I haven't seen any offset value assigned on Bruker data so far. And these two would be better to go together since it's just for correcting the value into the data type (16bit) by combining two (slope and offset).
So if there is any good idea to cover both (for example --ignore-correction), it would be more suitable I think?
from brkraw.
Thank you, that would help a lot. This is a big issue specially for volumetric analysis.
from brkraw.
@gdevenyi @egarza 0.3.3 released version will have those functions.
--ignore-rescale, or --ignore-slope and --ignore-offset
I will close this issue, but please let me know if other issues occurred related to this change.
from brkraw.
Related Issues (20)
- add some style guide lines HOT 1
- duplicate "contributing" file
- automate the build of the docker image HOT 1
- use a citation.cff file to keep track of metadata to be ingested by zenodo upon release
- Sourcery refactoring suggestions HOT 1
- consider moving the doc within package repo HOT 1
- Fails conversion with tonii_all HOT 7
- Jupyter notebook tutorial gives FileNotValid error HOT 2
- Convert specific file via CLI HOT 4
- The `--output` parameter cannot control the file name (additional elements get auto-added so you need to concatenate with mv to actually get the filenames you want...) HOT 1
- Bids_helper quits when method file is missing HOT 1
- Upcoming Major Update 0.4.0: Scheduled for Mid May 2024 HOT 1
- Regular Bruker recon tools from raw fid HOT 2
- Compressed Sensing Reconstruction for Undersampled Cartesian Sequences PV360.3.3<
- GUI Unable to open PV7 and PV360 zip files HOT 6
- Streamlining Data Operations in Brkraw: Introducing 'PvScan' and 'PvReco' for Enhanced Raw Data Management. HOT 1
- Integration of Brkraw into Neurodesktop HOT 3
- Brkraw CLI for bruker recon of simple cartesian sequences (FLASH, MGE, RARE) HOT 5
- Missing buttons and image preview display when running in Apptainer HOT 5
- Simplifying and Reducing brkrecon submodule HOT 2
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 brkraw.