GithubHelp home page GithubHelp logo

3D FLASH T1w slope about brkraw HOT 13 CLOSED

egarza avatar egarza commented on June 14, 2024
3D FLASH T1w slope

from brkraw.

Comments (13)

egarza avatar egarza commented on June 14, 2024 1

Great! thanks again

from brkraw.

gdevenyi avatar gdevenyi commented on June 14, 2024 1

I think if its not already there --ignore-offset should go with this.

from brkraw.

gdevenyi avatar gdevenyi commented on June 14, 2024 1

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.

dvm-shlee avatar dvm-shlee commented on June 14, 2024 1

@gdevenyi It makes sense to me. I will implement those three options on the next update. Thank you for the suggestion!

from brkraw.

dvm-shlee avatar dvm-shlee commented on June 14, 2024

@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.

dvm-shlee avatar dvm-shlee commented on June 14, 2024

@egarza Since I had an additional update, you can use this function from 0.3.3rc8

from brkraw.

dvm-shlee avatar dvm-shlee commented on June 14, 2024

Could you close this issue if you don't have any problem with the new option? Thank you!

from brkraw.

dvm-shlee avatar dvm-shlee commented on June 14, 2024

@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.

gdevenyi avatar gdevenyi commented on June 14, 2024

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.

gdevenyi avatar gdevenyi commented on June 14, 2024

See https://github.com/SebastianoF/bruker2nifti/blob/6cf20451a135e9d001a39ad2bd6efc81c253c609/bruker2nifti/_cores.py for example

from brkraw.

dvm-shlee avatar dvm-shlee commented on June 14, 2024

@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.

egarza avatar egarza commented on June 14, 2024

Thank you, that would help a lot. This is a big issue specially for volumetric analysis.

from brkraw.

dvm-shlee avatar dvm-shlee commented on June 14, 2024

@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)

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.