###################################################################
LATEST EMAIL UPDATE: 02 May 2015
###################################################################

The main new things are, fast Yosemite display, CARET
"videen-style" color scale, remember colscales when swapping
data sets, display gradient amplitude as color, and
bugfixes.

Hack Fix for Slow Interface on Mac OS X 10.01 (Yosemite)

The drawing speed of the tk interfaces (e.g., csurf panels,
tksurfer) slowed to a crawl on Mac OS X 10.10 (Yosemite).
This is likely due to a bad interaction between XQuartz/tk
with the new "App Nap" power-saving priority 'feature'.

Until XQuartz and the tk guys fix this, I found an ugly but
effective fix: put up a temporary xterm in front of the
interface window when it is being drawn.  This speeds up the
drawing of the interface roughly by a factor of 100 :-}
which makes using csurf on Yosemite bearable.

CARET "videen-style" Color Scale

This is the spectral-like CARET color scale used in the
Glasser and Van Essen papers (and many other CARET maps).
It is available either by:

  1) middle-click the "BR" coloscale (vs. left click)
  2) left-click the "Bg:" label to get a full colscale pop-up
  3) F3 big panel ("vd")

Remember color scales

If you have two data sets loaded (e.g., via the S/V button,
which can swap stat and val, or real and imaginary, or a
pair of real and imaginary data sets), the color scale that
you set on each of the data sets will be remembered if you
swap back and forth.  A pale imitation of MGH tksurfer's
more general facility (but 2 is better than 1!).

Display gradient amplitude as colorscale

After a gradient (of curvature, val, or phase) has
been calculated, instead of displaying it as arrows,
you can display its amplitude as a color scale.
See R-click help to "GR" button for details.

Small things

A lot of small updates to the documentation.

### 02 May 2015 (hack for Yosemite, CARET videen-style colscale)
 1) hack to make csurf/tksurfer work reasonably on MacOSX 10.10 Yosemite
 2) CARET "videen-style" colscale=17 (L-click-"Bg", F3, or mid-click BR)
 3) S/V swapping between data sets saves/swaps color scale settings
 4) can display gradient amplitude as color map (vs. arrows: R-click help GR)

###################################################################
To install the new csurf:

cd <dir-where-csurf-currently-installed>
  mv csurf csurf-YYMMDD
  tar xvfz csurf0.8-{mac,linux}-YYMMDD.tgz

cheers,
marty


#########################################
Latest addition to $CSURF_DIR/UPDATES.txt
#########################################

---------------- 02May2015 FreeSurfer0.8/csurf0.8 tarballs -------------------
--csurf: Fourier panel PAINT skips surfclust if cluster area is zero
--tksurfer.c: multitimecourseflag restore orig overlay behavio, tcl script only
--lib/help/csurf/tksurfer: improve GL/tk win overloaded clicks docs
--tksurfer.c: popup at init rawdata load 1 timecourse, skip show orig/samp surf
--lib/help/tksurfer/{val_jt,val_vd}: doc fixed controls
--tksurfer.c: fix videen-style fthresh trunc, disable videen fmid/fslope
--tksurfer.tcl: L-click "Bg" gives popup w/verbose radio labels all colscales
--tksurfer.tcl: fmid/fthresh/truncphase{min,max} presets on click "jt", "vd"
--tksurfer.tcl: warn/explain panel for display gradient ampl as shading
--tkmedit.tcl: update to new trace syntax
--tkregister.tcl: update to new trace syntax
--tksurfer.tcl: update to new trace syntax
--csurf: add "vd" CARET VanEssen "videen-style" to View Funct Data colscales
--lib/help/tksurfer/{val_w1,val_BRy,val_BRw}: update help
--tksurfer.tcl: middle-click overload: BRy->jet, BR->vd (without F3)
--mk{.csh}: add new helpfile, val_jd, to dist
--lib/help/tksurfer/val_vd: new helpfile
--lib/help/tksurfer/{val_jt,truncphasemin,truncphasemax}: doc use trunc limits
--tksurfer.tcl: select jet/vd zeros fthresh/fmid, resets truncphasemin/max
--tksurfer.tcl: add Caret videen-style "vd" colscale on F3 panel
--tksurfer.c: add CARET/VanEssen "videen-style" colscale=17=VIDEEN_STYLE
--lib/help/tksurfer/{fmid,fslope,angle_offset}: add shortcuts
--mk{.csh}: add new helpfile, smooth_grad, to dist
--lib/help/tksurfer/smooth_grad: new helpfile
--tksurfer.tcl: F3 panel smoothtype "gr" (tcl:smooth <type=grad>), =valbakonly
--tksurfer.c: compute_grad_to_ori_in_baks <foldangle> for cereb curv gradients
--lib/help/tksurfer/{comp_grad,arrownorm}: update
--tksurfer.tcl: shift-middle-click arrownorm: conv/disp gradamp to real overlay
--tksurfer.tcl: comp_disp_grad only does compute_angles_vals_to_baks if phase
--tksurfer.tcl: horrible hack for yosemite slowdown: tmp xterm over tools panel
--tksurfer.tcl: "curv:" dropdown loads thickness, resets R/G colscale mid=2.3mm
--csurf: horrible hack for yosemite slowdown: tmp xterm over setupscans panels
--wrappers.tcl: positionpopup returns position (for yosemite csurf hack)
--lib/help/tksurfer/{swapstatval,comp_fs}: update
--tksurfer.tcl: swap_settings w/swap_{val_val2,stat_val,valval2_valbakval2bak}
--tksurfer.tcl: corrected prev binding (was an Shift in there, too)
---------------- 10Apr2015 FreeSurfer0.8/csurf0.8 tarballs -------------------
--tksurfer.tcl: overload unlab'd arrownormflag check w/toggle angoffrevarrflag
--tksurfer.tcl: editfile: 'open -e', touch to mk new file, OK on OSX 10.10
--tksurfer.tcl: toggle arrownormflag resets arrowscale (ON=>0.5mm, OFF=>5)
--tksurfer.c: fix compute_gradient on phase (save gradients til loop done)
--tksurfer.c: correctly track compute_angles r,i=>th,r thru swaps,push,readnew
...




