Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Strain from CoupledRec (#16) * Additional documentation for multipeak phasing * Update setup.py * Update meta.yaml * Refactored get_centered to reduce number of numpy function calls. * Added a bunch of functions to cplib.py * Get strain from final reconstruction. This commit also contains commented code that would implement the partial fourier constraint with free-varying pixels according to a preset mask. * Added several new methods to the cohlib signature: - diff - gradient - argmin - take_along_axis - moveaxis - lstsq - zeros - indices - concatenate These methods have been implemented in cplib and nplib, but will raise NotImplementedError if called from torchlib or aflib. * Removed some experimental code that accidentally got included in this version. --------- Co-authored-by: Barbara Frosik <[email protected]> * fixed interface issue with cohere-ui after merge * fixed interface issue after merge * Delete reconstruction_GA_HPC.py * moved cleaning memory to lib * Delete reconstruction_HPC_GA.py * fixed problrm with parameter * fixed imoprt name * fixed docs for developers * supressed warnings in verifier when parsing device * fixed crop issue in ui * Autodata (#18) * changes for autodata option * synch with ui --------- Co-authored-by: bfrosik <[email protected]> * added debug option * moved utils from cohere-ui to cohere core and cleane up * cleaned up utils * support for auto data for separate scan ranges * aligned with cohere-ui * align with cohere-ui * relaxed verifier for auto data * relaxed verifier * aligning with ui * added missing save_dir in reconstruction scripts * added for hpc * sync with cohere-ui module * removed warning * added cluster capability * removed print statements * cleaned up, bug fixes * added description for cluster, fixed host naming issue * fixed typo * Update .readthedocs.yaml * Update .readthedocs.yaml * Update .readthedocs.yaml * Update .readthedocs.yaml * Update .readthedocs.yaml * Update README.md * Update README.md * Update README.md * fixed verifier, aligned cohere-ui * aligned with cohere-ui module * formatted text, fixed verifier for multipeak * blocked auto binning for mp and aligned ui * return correlation error in addition to aligned array * aligned ui * aligned with cohere-ui * added description in verifier, aligned with ui * Updated multipeak capabilities (Dev) (#22) * Additional documentation for multipeak phasing * Update setup.py * Update meta.yaml * Refactored get_centered to reduce number of numpy function calls. * Added a bunch of functions to cplib.py * Get strain from final reconstruction. This commit also contains commented code that would implement the partial fourier constraint with free-varying pixels according to a preset mask. * Added several new methods to the cohlib signature: - diff - gradient - argmin - take_along_axis - moveaxis - lstsq - zeros - indices - concatenate These methods have been implemented in cplib and nplib, but will raise NotImplementedError if called from torchlib or aflib. * Removed some experimental code that accidentally got included in this version. * assigned release tag * fixed doc for developers * fixed crop issue in ui * Added the following functions to cplib.py: amin(), affine_transform(), pad(), histogram2d(), calc_nmi(), calc_ehd(). These have only been implemented in cplib, other libraries are only implemented as stubs. * Significant changes that should have been committed earlier: - Resampling is now included in the phasing process. - Added several new error metrics, including normalized mutual information (NMI) and expected histogram deviation (EHD) - Apply the support constraint to the full object during ER iterations (to prevent buildup of HIO feedback) - Fixed incorrect normalization when projecting to each Bragg peak. - Added a "control_peak" option to exclude one peak from the phasing process to use for unbiased error calculations. - Added a "calc_strain" option which can skip the slow strain calculation. - Added a "fast_resample" option to toggle whether the original or resampled data is used. --------- Co-authored-by: Barbara Frosik <[email protected]> * aligned with ui * updated torch lib * fixed torchlib * removed unused function, aligned ui * synch ui * revised fftconvolve function * added comments to op flow, and simplified * modified get_ratio * removed defaults in cohere-core, added checks for misconfiguration * added error checks and prints of error messages if fail * removed code to activate lpf at last iteration * aligned with cohere-ui * added tqdm package in setup.py * added example of different sw type in features * moved checks based on type * change definition of algorithms dict to include to_direct and to_reciprocal * refactored cluster handling * changed API to receive hostfile instead of arbitrary naming it * changed api * Removed Support class and moved support array to Rec * renamed phase modulus to phase constrain * change description, slightly modified code * updated documentation * corrected docs * modified for new release * modified to do beta buid * refactored to set defaults through get, corrected decs * modified doc conf.py * modified doc conf.py * updated docs * cleaned up docs * aligning with cohere-ui --------- Co-authored-by: Nick Porter <[email protected]> Co-authored-by: Barbara Frosik <[email protected]> Co-authored-by: pfrosik <[email protected]> Co-authored-by: cxduser <[email protected]>
- Loading branch information