Skip to content

**3)** If the voxel grid unit is not 1 mm (cfg.unitinmm), are the path lengths correct when computing the detected weights with mcx_replayprep() in the standalone mode in mcx/src/mcx_utils.c [Line3718](https://github.com/fangq/mcx/blob/89627a79428fc57695ec381362e58b15e1e88918/src/mcx_utils.c#L3718)? In the function mcx_replayinit() above for MATLAB/Python, 'plen' is scaled _after_ computing the weight on [Line3672](https://github.com/fangq/mcx/blob/89627a79428fc57695ec381362e58b15e1e88918/src/mcx_utils.c#L3672), since 'mua' is already scaled to account for cfg.unitinmm. This was fixed for the embedded mode in [orig_fix](https://github.com/fangq/mcx/commit/d9b2f2b44c29b2bac08bb5d502e67fc52a5437f0) #260

@fangq

Description

@fangq
No description provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions