query cell coordinates of a target value in a jitter matrix


    Jun 03 2013 | 2:10 pm
    Hello, is there any object which runs under 64bit, which allows to query cell coordinates (x/y) from a jitter matrix for a given target value. I have a matrix filled with floats and want to find the position of the highest value.
    Please help!

    • Jun 03 2013 | 2:10 pm
      ah sorry I am running Win7 64bit
    • Jun 03 2013 | 6:06 pm
      It's not a single object - it's a message sequence to a jit.matrix object.
    • Jun 04 2013 | 10:31 am
      Hello Max Gerdener, thanks for your reply. my question was not for getting the value as it is nice documented in the matrix reference but if I have this value already how to know at which column and row it is in the matrix, means the x, y cell coordinates.
    • Jun 05 2013 | 9:54 am
      there is no standard jitter object for this, you need to look at 3rd party externals
      take a look at the objects in Wesley Smith's site:
    • Jun 05 2013 | 10:44 am
      maybe one solution :
      combine a [jit.op @op == @val (your value)] object
      -> this will put your cell to 1 if the value in your matrix are equals to your known value,
      then give it to a [jit.iter] to retrieve coordinate
    • Jun 05 2013 | 11:07 am
      one example :
    • Jun 06 2013 | 11:01 am
      @touk: thanks that helps!
      @floating point: thanks! about xray: I have to try how it works under win7 64bit. there was an object xray.jit.maxvalue which seems to be no longer supported and which does exactly this kind of cell-index-search.
    • Mar 23 2016 | 9:06 am
      Hi!
      Sorry for the necroposting. I just encountered the same issue and decided to share the solution.
      The object for value-based cell index search in xraypackage is xray.jit.cellvalue. Example: