<commit_before>echo "0 0 0 0 1 0 0 0 0" \
 | unu reshape -s 9 1 1 \
 | unu pad -min 0 0 0 -max 8 8 8 \
 | unu make -s 9 9 9 -t float -e ascii -ls 9 \
   -spc LPS -orig "(0,0,0)" -dirs "(1,0,0) (0,1,0) (0,0,1)"



unu rmap -i /Users/gk/prof/class/33710-SciVis/project2/elev-rsmp.png \
  -m bbody.txt -blind8 false -max 193 -o tmp.nrrd
why the f-ing NaNs?


large-scale fix: when using sizeof with memcpy or memset, should be using
the variable name itself instead of type as argument to sizeof()

fix all 
"dereferencing type-punned pointer will break strict-aliasing rules"
warnings on a modern linux system

Make sure the CMake and GNUMake agree on source files per-library

decide if <LIB>_EXPORT should just be TEEM_EXPORT

Fix the "unu dist" segfault that I discovered awhile ago (I can
provide the input file that triggers this)

--------- teem 1.9 cut-off

for cmake:
 - get some basic tests working (if only nrrdSanity)
 - build pv on windows
 - see if wild-card expansion works as expected on windows
 - make cmd-line utilities link with static libs

[portable54-250:~/d/parepi/6] gk%
tend estim -new -sigma 0.01 -est wls -i 6crop-dwi.nrrd \
   -B kvp -knownB0 false -t 250 -o tmp.nrrd
   0.0%tend estim: trouble doing estimation:
[ten] tenEstimate1TensorVolume4D: failed at sample 40
[ten] tenEstimate1TensorSingle_d:
[ten] _tenEstimate1TensorSingle: estimation failed
[ten] _tenEstimate1Tensor_WLS: trying to improve on first WLS
[ten] _tenEstimate1TensorSimulateSingle

gage: re-modularize to facilitate probing bricked data

nrrd: look into Pade approximations for windowed sinc() kernels

make system really botched: change the size of the tenFiberContext
(added a field or two), do a make ten/install, then cd ../push; rm -f test/pusher
make install; make; and you'll STILL get memory errors due to seeing 
library/object files which use the older context size.  Do a top-level
make clobber, and then things work.  This is crap.
I think the problem is that development object files of push were not
recompiled when they should have been- doing a make clobber; make in push
solved the problem...
(noted earlier:)
- HUGE PROBLEM: change limn.h, cd ../ten, make, nothing to be done WRONG
- HUGE PROBLEM: make a change in nrrdEnums.h, which unrrdu/project.c 
  uses directly. recompile, and nrrd gets compiled, but not unrrdu,
  so unu doesn't get updated correctly!
- HUGE PROBLEM: add a macro in ELL, make install in ell,
  cd limn, make ../limn/test/tiso, doesn't see new header
  and fails at link-time with "<new macro> symbol undefined"
- want seperate directories for static and shared libraries
- want bin/dev and bin/install targets

unu: jhisto works with axis[0] elements when given a single nrrd

nrrd: add fft support
nrrd: add support for VFF file format
nrrd: add support for NIFTI-1 file format

air: make airOneLine return number of bytes read; current return
  of string length is entirely redundant with return of strlen()
  and then enable the ftell() check after PNG magic read

nrrd: generalize I/O so that magic needn't be on line by itself
<commit_msg>some things have actually been finished or dealt with<commit_after>

unu rmap -i /Users/gk/prof/class/33710-SciVis/project2/elev-rsmp.png \
  -m bbody.txt -blind8 false -max 193 -o tmp.nrrd
why the f-ing NaNs?


large-scale fix: when using sizeof with memcpy or memset, should be using
the variable name itself instead of type as argument to sizeof()

fix all 
"dereferencing type-punned pointer will break strict-aliasing rules"
warnings on a modern linux system

Make sure the CMake and GNUMake agree on source files per-library

decide if <LIB>_EXPORT should just be TEEM_EXPORT

Fix the "unu dist" segfault that I discovered awhile ago (I can
provide the input file that triggers this)

--------- teem 1.9 cut-off

for cmake:
 - get some basic tests working (if only nrrdSanity)
 - build pv on windows
 - see if wild-card expansion works as expected on windows
 - make cmd-line utilities link with static libs

[portable54-250:~/d/parepi/6] gk%
tend estim -new -sigma 0.01 -est wls -i 6crop-dwi.nrrd \
   -B kvp -knownB0 false -t 250 -o tmp.nrrd
   0.0%tend estim: trouble doing estimation:
[ten] tenEstimate1TensorVolume4D: failed at sample 40
[ten] tenEstimate1TensorSingle_d:
[ten] _tenEstimate1TensorSingle: estimation failed
[ten] _tenEstimate1Tensor_WLS: trying to improve on first WLS
[ten] _tenEstimate1TensorSimulateSingle

gage: re-modularize to facilitate probing bricked data

nrrd: look into Pade approximations for windowed sinc() kernels

make system really botched: change the size of the tenFiberContext
(added a field or two), do a make ten/install, then cd ../push; rm -f test/pusher
make install; make; and you'll STILL get memory errors due to seeing 
library/object files which use the older context size.  Do a top-level
make clobber, and then things work.  This is crap.
I think the problem is that development object files of push were not
recompiled when they should have been- doing a make clobber; make in push
solved the problem...
(noted earlier:)
- HUGE PROBLEM: change limn.h, cd ../ten, make, nothing to be done WRONG
- HUGE PROBLEM: make a change in nrrdEnums.h, which unrrdu/project.c 
  uses directly. recompile, and nrrd gets compiled, but not unrrdu,
  so unu doesn't get updated correctly!
- HUGE PROBLEM: add a macro in ELL, make install in ell,
  cd limn, make ../limn/test/tiso, doesn't see new header
  and fails at link-time with "<new macro> symbol undefined"
- want seperate directories for static and shared libraries
- want bin/dev and bin/install targets

nrrd: add fft support
nrrd: add support for VFF file format
nrrd: add support for NIFTI-1 file format

air: make airOneLine return number of bytes read; current return
  of string length is entirely redundant with return of strlen()
  and then enable the ftell() check after PNG magic read

nrrd: generalize I/O so that magic needn't be on line by itself

{'fraction_non_alphanumeric': 0.07025210084033613, 'fraction_numerical': 0.018319327731092436, 'mean_word_length': 3.842148087876322, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7408554', 'n_tokens_mistral': 2006, 'n_tokens_neox': 1877, 'n_words': 890}