- Jul 07, 2017
-
-
Jan Caron authored
Smooth_vortex now can have a homogeneous core with radius larger 1. Hacky solution for PyQt4/5, change later! Changed ignore files.
-
- Mar 14, 2017
-
-
Jan Caron authored
docs: moved up one level. plottools: added some default label sizes. version: added to VCS and added a TODO (switch to Git) fielddata: added rot90 for ScalarData, lot of small changes.
-
- Jan 09, 2017
-
-
Jan Caron authored
reconstruction: jutil.TakeTime is now used here. scalebars: Module which allows nice scalebars to be displayed in all plots. This is the new default and can be turned off. ramp: Now stores everything from the dataset directly to self, instead of keeping a reference to the DataSet (construct without Dataset in future!). projector: tqdm now uses tqdm_notebook if used in IPython Notebook! magcreator: Added functionality for smooth vortices (see de Graef et al.). kernel: Corrected behaviour of slab geometry (u and v were still switched!). dataset: phasemappers now accessable as dictionary or list. The append function now also takes lists (but projectors and phasemappers can in turn not set directly anymore). Se_inv will be updated automatically. diagnostics: Functionality to access total, directional and magnitude error, according to Kemp et al.
-
- Dec 28, 2016
-
-
Jan Caron authored
dataset: implemented save/load features in io_dataset.py h5py: copied data from hdf5 files to make sure they exist after file is closed. projector/phasemap/dataset: force dim/dim_uv to be tuples.
-
- Dec 26, 2016
-
-
Jan Caron authored
-
- Dec 24, 2016
-
-
Jan Caron authored
Projectors now have tqdm options to show progress.
-
- Dec 19, 2016
-
-
Jan Caron authored
phasemap: Now supports flips, rotations and shifts with ndimage. Added plot_phase_with_hist to plot histograms (for difference plots). fielddata: FieldData now properly plots contours and masks (new). dataset: set_3d_mask now uses the new mask capability of FieldData. Default is no longer "logical backprojection". io_phasemap: Now includes .tif (although that does not always work). setup.py: Deleted deprecated depencencies. Renamed a few plot commands to plot_... Rollback to RdBu as colormap (back from Spectral).
-
- Nov 10, 2016
-
-
Jan Caron authored
fielddata: Added plot_quiver_field convenience function. io_phasemap: Added functionality for images separately from HyperSpy. phasemap: Automatically normalise confidence. projector: Quaternion for tilt around x-axis corrected (was falsely around y). reconstruction: Added verbose option (True by default). reconstruction_2d_from_phasemap: Plotting optimised.
-
- Nov 03, 2016
-
-
Jan Caron authored
Renaming of variables in PhaseMapperRDFC.jac_T_dot to make more sense...
-
Jan Caron authored
phasemapper: PhasemapperRDFC: Now the adjoint is calculated correctly (switched slicing order, took conjugate of kernel FFTs, deleted superfluous minus sign). Results are the same, but calculation is now CORRECT! fft: Correction of numpy rfftn_adj. fielddata: Added option for uniform color specification.
-
- Jul 26, 2016
-
-
Jan Caron authored
New API module unclutters the namespace (import pyramid.api as pr).
-
- Jul 17, 2016
-
-
Jan Caron authored
-
- Apr 21, 2016
-
-
Jan Caron authored
GUIs now import .ui-files directly.
-
- Mar 23, 2016
-
-
Jan Caron authored
-
- Mar 09, 2016
-
-
Jan Caron authored
Refactoring: Replaced MagData with VectorData and added ScalarData class (and common superclass FieldData). magnitude is now called field (which is more appropriate) projector now uses FieldData to process both vector and scalar data (foundation was in place before)
-
- Feb 28, 2016
-
-
Jan Caron authored
-
- Jul 21, 2015
-
-
Jan Caron authored
Cleanup and documentation! ramp: New class for polynomial ramps. Instantiated in the ForwardModel. forwardmodel: Now uses new ramp class. phasemapper: Ramp functionality moved to ramp class. reconstruction: Ramp order not used, ramp can be now retrieved from the ramp class after reconstruction. analytic, magcreator: Better and consistent definition of pixel centers and their influence on the phase. testing: Minor corrections for new syntax.
-
- Jul 16, 2015
-
-
Jan Caron authored
colormap: New module with colormap subclass which has special functions to calculate directional rgb-colors, now used in many plots! __init__: On star import now also has abbreviations for a few modules. fwd_model: Now has flags for fitting an offset and/or ramp. CAUTION: will be moved next update to new class! magdata: Removed colorwheel stuff (all moved to 'colormap'). Overhaul of quiver plot in 2D and 3D. Now shows mask and uses new colormap for angular color coding. phasemap: Now uses the new colormap for holo plots. Removed color wheel (moved to the new class). Added function to add ramps. phasemapper: Now handles also offsets and ramps in the phase. CAUTION: will be moved next update to new class! projector: Fixed bugs in SimpleProjector. 1) leftmost pixels are no longer moved moved to left corner of padded projection (when dim_uv is not None). 2) odd padding when using dim_uv are now handled properly (one more pixel on top and right if necessary). costfunction: n is now taken from the fwd_model instead of the data_set. dataset: Introduced the count variable which gives the number of images. magcreator: In the process of updating, more on next commit. reconstruction: Also handles ramps and offsets now, properly extracts them after reconstruction. regularisator: New argument 'add_params' is used to cut off input (for offset and ramp) which are not used in the regularisation. scripts: several small changes...
-
- Jun 02, 2015
-
-
Jan Caron authored
Phase maps now also have a mask and a confidence matrix. Began new script structure (temporary folders created). Cleanup, logging and documentation done. config: NTHREADS is now set here. dataset: Method for creating 3D masks added. phasemap: Mask and confidence matrix added. Padding and cropping supported. forwardmodel: Stubs for multiprocessing added (next TODO!). kernel: Added support for perturbed reference wave. magdata: Padding and cropping supported. projector: New property 'sparsity' introduced. regularisator: Stub for ComboRegularisator added (next TODO!). tests: Changed accordingly.
-
- Mar 15, 2015
-
-
Jan Caron authored
projector: RotTiltProjector implemented! quaternion: New module providing quaternions!
-
- Mar 07, 2015
-
-
Jan Caron authored
magdata: added convenience functions for flipping and rotating of magnetic distributions, fixed bug with ar_dens. phasemap: now also has a mask which will be used to construct a 3D-mask for the magnetic distribution during reconstruction. Added setter/getter. Added copy(), scale_down()/scale_up() convenience functions. !CAUTION! Only NetCDF4 files save every new parameter! projector: Fixed hidden bug in X/YTiltProjector, which was problematic during tilts over 360°. Now uses linear algebra (much clearer!). get_info() function now can be used non-verbose (for filenames). dataset: added several setter/getter, addes set_3d_mask() for simple 2D tasks, renamed mask to confidence (for Se_inv construction) tests: updated to include the fixes and new functions introduced in this update!
-
- Feb 19, 2015
-
-
Jan Caron authored
tests: implemented the missing TestCases! dataset: mask is now created if not given! phasemapper: guaranteed np.float32 format for RDRC (expected by Cython) projector: now uses fft.FLOAT
-
- Feb 03, 2015
-
-
Jan Caron authored
docstrings: updated! costfunction: CFAdapterScipyCG obsolete, deleted estimate_lambda() dataset: use_fftw and threads obsolete diagnostics: implemented stuff... much stuff... fft: Docstrings and implementation of threads magcreator: fixed bug in slab (dimension mix-up) phasemap: plot now also returns colorbar reconstruction: PrintIterator and optimize_simple_leastsq obsolete regularisator: Docstrings scripts: minor modifications scripts - reconstruct_random_pixels: now use optimize_linear testcases: analytic, compliance, kernel, magcreator, magdata, projector
-
- Dec 09, 2014
-
-
Jan Caron authored
kernel, phasemapper: now use the new pyramid.fft module. MagData, PhaseMap: now use np.float32 instead of np.float64 MagData: new quiver_plot3d with just matplotlib (buggy and still WOP). logging: deleted several logging.debug prompts for speed up. util: deleted module!
-
- Nov 24, 2014
-
-
Jan Caron authored
setup: Changes to setup.py, pyramid.version to fit to numpy and jutil now uses __all__ magic and supports from pyramid import * tests: changes to test_compliance/magcreator/analytic (should now work) collaborations: added several scripts for Patrick reconstruction: added batch file for the reconstruction of several configs test methods: (unfinished) scripts for fftw tests and kernel comparisons paper 1: ch5-4 changed padding values to 0, 1, 3 and 7 plotting: deleted plt.show() lines (have to be done manually now or via Spyder) logging: now named _log instead of LOG (private variable instead of constant) also some logs were disabled, because Pylint says they are slow... reconstruction: now has info argument (pass a list in which cost info is copied) phasemapper: changed sign of constant PHI_0, is now correctly positive (instead the negative z-integration is taken into account which was not done before!) kernel: now uses FFTW, numpy code was changed accordingly and is still available phasemapper: also uses FFTW now, work in progress: FFTW for jac_T_dot
-
- Oct 29, 2014
-
-
Jan Caron authored
m: i'm'age n: i'n'put
-
- Sep 01, 2014
-
-
Jan Caron authored
Many Doctring corrections, all plots now have a "show" parameter to not show a plot at the end of the method (needed for guis and such). magdata: quiver_plot: axis switch for x-projection, implemented logarithmic arrows and scaling feature. projector: added to_mag_data() method to directly produce a projected magnetization distribution. gui/create_logo: removed (obsolete and unuseful). gui/mag_slicer: added!
-
- Aug 17, 2014
-
-
Jan Caron authored
projector: ALL projectors can now handle arbitrary dimensions dataset: reverted to old strategy (dimensions must match) reconstruction: least square method now also with regularization of order 1 scripts: cleanup and streamlining, added projector_test
-
- Aug 13, 2014
-
-
Jan Caron authored
dataset: phase map dimensions do not have to match anylonger (just with the connected projector) reconstruction: simple least square: added regularisation of 1. order scripts: stuff which will be cleaned up in next commit
-
- Aug 12, 2014
-
-
Jan Caron authored
-
- Aug 06, 2014
-
-
Jan Caron authored
magdata: implemented save_to_x3d (Bielefeld collaboration) template.x3d: template for the x3d output (header file with spin-blueprints) numcore.kernel_core: implemented multiply_jacobi_T_core scripts: added vtk scripts for full nanowires and segments script to process file by Daniel Rüffner
-
- May 15, 2014
-
-
Jan Caron authored
pep8: optimizations phasemapper_core: numcore module for phasemapper scripts: compatibility with new structure reconstruction: new scripts
-
- Apr 17, 2014
-
-
Jan Caron authored
package: some minor corrections (mainly import statements), some old functions were revived (e.g. in MagData) scripts: adaption to the new structure and sorting (more work is to do here...) _version: __version__ string is now imported from this file phasemapper_core.pyx: added to separate the corresponding numcore_functions from kernel_core.pyx
-
- Apr 16, 2014
-
-
Jan Caron authored
Renames: datacollection --> dataset optimizer --> reconstruction scripts: interactive_setup is now implemented in an extended Spyder startup file. some other scripts are now the rest is NOT adapted, yet, which is the next task at hand furthermore scripts will be sorted and unused ones deleted in the next commit
-
- Mar 11, 2014
-
-
Jan Caron authored
not represent the correct matrizes (hopefully, now they do). >>> PACKAGE forwardmodel, kernel, phasemapper: b_0 is now again inherent part of the kernel. projector: Corrected .jac_T_dot, now delivers product for the correct matrix. >>> SCRIPTS simple_reconstruction: Does simple compliance tests for 1 and 2 projections and tests a simple solver via scipy.sparse.linalg.cg for the reconstruction.
-
Jan Caron authored
documentation: minor changes and updates of docstrings
-
- Feb 10, 2014
-
-
Jan Caron authored
regrid: Added many scripts for regridding by Jörn logging: Introduced logging scripts: Added Scripts for regridding and simulating stuff for cooperations removed: Unused test scripts structure: Many new restructuring aspects already implemented
-
- Jan 02, 2014
-
-
Jan Caron authored
modularity and compatibility with future algorithms and ideas.
-
- Dec 05, 2013
-
-
Jan Caron authored
(At the moment a bit slow, optimization with Cython seems necessary).
-
- Dec 03, 2013
-
-
Jan Caron authored
Replaced res with a for the grid spacing (resolution is a reserved word in electron microscopy Work in progress: jacobi matrix for projection
-