Skip to content

Commit

Permalink
Fixing CT matrix in js when s/qforms are inconsistent (the coregistra…
Browse files Browse the repository at this point in the history
…tion matrix in sform and original matrix in qform)
  • Loading branch information
dipterix committed Sep 3, 2023
1 parent aea5c03 commit b121553
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 32 deletions.
10 changes: 8 additions & 2 deletions adhoc/yael.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DIPSAUS DEBUG START
n27_path <- "/Users/dipterix/Dropbox (PennNeurosurgery)/BeauchampLabAtPenn/Electrode_Localization_Paper/Code/N27"
atlas_idx <- c(17,18,53,1021,1023,1027,1034,1035,2001,2005,2027)
atlad_idx2 <- NULL #c(17,53,1001,1015,1030,2001,2015,2030)
atlad_idx2 <- c(17,53,1001,1015,1030,2001,2015,2030)
brain <- raveio::rave_brain("YAEL/N27", surfaces = atlad_idx2)

electrodes <- brain$electrodes$raw_table
Expand Down Expand Up @@ -35,7 +35,13 @@ palettes = list(
Response = ravebuiltins::get_heatmap_palette('PinkWhiteGreen')
)
brain$plot(
palettes = palettes
palettes = palettes,
controllers = list(
'Display Data' = "LabelPrefix",
'Subcortical Surface' = "right",
'Right Opacity' = 0.1,
'Voxel Type' = "aparc_aseg"
)
)
# B|D|H|

Expand Down
20 changes: 0 additions & 20 deletions inst/threeBrainJS/dist/120.threebrain.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion inst/threeBrainJS/dist/856.threebrain.js.LICENSE.txt

This file was deleted.

8 changes: 1 addition & 7 deletions inst/threeBrainJS/dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"main.js": "/threebrain.js",
"120.threebrain.js": "/120.threebrain.js",
"856.threebrain.js": "/856.threebrain.js",
"392.threebrain.js": "/392.threebrain.js",
"threebrain.js.map": "/threebrain.js.map",
"120.threebrain.js.map": "/120.threebrain.js.map",
"856.threebrain.js.map": "/856.threebrain.js.map",
"392.threebrain.js.map": "/392.threebrain.js.map"
"threebrain.js.map": "/threebrain.js.map"
}
2 changes: 1 addition & 1 deletion inst/threeBrainJS/dist/threebrain.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions inst/threeBrainJS/dist/threebrain.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@
* Licensed MIT © Zeno Rocha
*/

/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/

/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */

/**
* @license
Copyright (c) 2008, Adobe Systems Incorporated
Expand Down
2 changes: 1 addition & 1 deletion inst/threeBrainJS/dist/threebrain.js.map

Large diffs are not rendered by default.

0 comments on commit b121553

Please sign in to comment.