Hi Jonathan
Chebfun3 is a bit beyond my ken, but I think tucker(g) is what you'd need:
>> help tucker
--- help for chebfun3/tucker ---
tucker SLICE-tucker expansion of a CHEBFUN3 object.
[CORE, COLS, ROWS, TUBES] = tucker(F) returns the core tensor CORE and
the three factor quasimatrices COLS, ROWS, and TUBES in the low-rank
representation of a CHEBFUN3 object F. The factor quasimatrices are of
size Inf-by-length(F, 1), Inf-by-length(F, 2) and Inf-by-length(F, 3),
respectively and we have
F(x,y,z) = CORE x_1 COLS(x,:,:) x_2 ROWS(:,y,:) x_3 TUBES(:,:,z).
CORE = tucker(F) returns the core tensor used in the construction of F.
See also chebfun2/cdr.