-
- Downloads
Convenience functions and bug fixes!
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!
Showing
- pyramid/config.py 3 additions, 3 deletionspyramid/config.py
- pyramid/costfunction.py 3 additions, 4 deletionspyramid/costfunction.py
- pyramid/dataset.py 58 additions, 16 deletionspyramid/dataset.py
- pyramid/magdata.py 92 additions, 21 deletionspyramid/magdata.py
- pyramid/phasemap.py 169 additions, 28 deletionspyramid/phasemap.py
- pyramid/projector.py 45 additions, 30 deletionspyramid/projector.py
- pyramid/version.py 1 addition, 1 deletionpyramid/version.py
- scripts/gui/mag_slicer.py 4 additions, 1 deletionscripts/gui/mag_slicer.py
- tests/test_costfunction/phase_map_ref.nc 0 additions, 0 deletionstests/test_costfunction/phase_map_ref.nc
- tests/test_dataset.py 5 additions, 5 deletionstests/test_dataset.py
- tests/test_forwardmodel/phase_map_ref.nc 0 additions, 0 deletionstests/test_forwardmodel/phase_map_ref.nc
- tests/test_magdata.py 26 additions, 2 deletionstests/test_magdata.py
- tests/test_magdata/mag_data_flipx.nc 0 additions, 0 deletionstests/test_magdata/mag_data_flipx.nc
- tests/test_magdata/mag_data_flipy.nc 0 additions, 0 deletionstests/test_magdata/mag_data_flipy.nc
- tests/test_magdata/mag_data_flipz.nc 0 additions, 0 deletionstests/test_magdata/mag_data_flipz.nc
- tests/test_magdata/mag_data_orig.nc 0 additions, 0 deletionstests/test_magdata/mag_data_orig.nc
- tests/test_magdata/mag_data_ref_load.nc 0 additions, 0 deletionstests/test_magdata/mag_data_ref_load.nc
- tests/test_magdata/mag_data_ref_load.txt 66 additions, 0 deletionstests/test_magdata/mag_data_ref_load.txt
- tests/test_magdata/mag_data_rotx.nc 0 additions, 0 deletionstests/test_magdata/mag_data_rotx.nc
- tests/test_magdata/mag_data_roty.nc 0 additions, 0 deletionstests/test_magdata/mag_data_roty.nc
Loading
Please register or sign in to comment