This fixes #136 in the most practical way.
advanced_image_processing: Changed all max projections being stored so that they keep the same dimensionality as the arrays they came from.
nanshe_learner: Changed all max and mean projections being stored so that they keep the same dimensionality as the arrays they came from.
nanshe/advanced_image_processing.py: Added logging messages for entering and exiting the watershed segmentation portion of wavelet_denoising.
nanshe/advanced_image_processing.py: Split some long lines over several lines.
synthetic_data: Added a doctest to generate_hypersphere_masks for the 3D case.
synthetic_data: Added some doctests to generate_gaussian_images for the 3D case.
synthetic_data: Added some doctests to generate_random_bound_points for the 3D case.
test_advanced_image_processing: Added a test for extract_f0 using 3D data.
test_advanced_image_processing: Added another test for extract_f0 using 3D data.
test_advanced_image_processing: Added tests for preprocess_data that use 3D data.
test_advanced_image_processing: Added a test for generate_dictionary on 3D data.
test_advanced_image_processing: Added a test for generate_local_maxima_vigra using 3D data.
test_advanced_image_processing: Added a test for test_generate_local_maxima_scikit_image_2 using 3D data.
test_advanced_image_processing: Added a test for generate_local_maxima using 3D data.
test_advanced_image_processing: Added test for extended_region_local_maxima_properties using 3D data.
test_advanced_image_processing: Added tests for remove_low_intensity_local_maxima using 3D data.
test_advanced_image_processing: Added tests for remove_too_close_local_maxima using 3D data.
tests/test_advanced_image_processing.py: Added a variant of test_wavelet_denoising, which is a bit more general.
tests/test_advanced_image_processing.py: Added a test for the 3D case of wavelet_denoising.
tests/test_advanced_image_processing.py: Added test for extract_neurons using 3D data.
tests/test_advanced_image_processing.py: Added a test for fuse_neurons using 3D data.