{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":327053650,"defaultBranch":"main","name":"cohere","ownerLogin":"AdvancedPhotonSource","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-05T16:20:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/21318037?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1724787651.0","currentOid":""},"activityList":{"items":[{"before":"db6b03c55248a6fd65ffaea31ee8e6c201b10b79","after":"644d307ae533c46d2e3b063d66d68e00c1e0eef8","ref":"refs/heads/main","pushedAt":"2024-09-06T16:39:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"sync with ui","shortMessageHtmlLink":"sync with ui"}},{"before":"db6b03c55248a6fd65ffaea31ee8e6c201b10b79","after":"e8327240b54a0883d94154e460866de44c01764f","ref":"refs/heads/Dev","pushedAt":"2024-09-06T16:35:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"sync with ui","shortMessageHtmlLink":"sync with ui"}},{"before":"7ecf2ccbf482fcc71a8c4743afd8ae7a7a240943","after":"db6b03c55248a6fd65ffaea31ee8e6c201b10b79","ref":"refs/heads/Dev","pushedAt":"2024-08-29T15:05:12.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"sync with ui","shortMessageHtmlLink":"sync with ui"}},{"before":"321984e0b9d72d6f99ffb71a5ed302aa1886ea23","after":"db6b03c55248a6fd65ffaea31ee8e6c201b10b79","ref":"refs/heads/main","pushedAt":"2024-08-29T14:57:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"sync with ui","shortMessageHtmlLink":"sync with ui"}},{"before":"4b9db44f2ba0851ddc6f260af63ed4c1c460a970","after":"321984e0b9d72d6f99ffb71a5ed302aa1886ea23","ref":"refs/heads/main","pushedAt":"2024-08-27T16:24:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"moved GA and multirec scripts to ui","shortMessageHtmlLink":"moved GA and multirec scripts to ui"}},{"before":"6ffb979b5ee349955d925a01f3b922cb8c08d4ef","after":"4b9db44f2ba0851ddc6f260af63ed4c1c460a970","ref":"refs/heads/main","pushedAt":"2024-08-27T01:52:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"changed setup.py, cleaned up","shortMessageHtmlLink":"changed setup.py, cleaned up"}},{"before":"288107bf82d692bcabd089ef628f05f81769fab7","after":"6ffb979b5ee349955d925a01f3b922cb8c08d4ef","ref":"refs/heads/main","pushedAt":"2024-08-26T15:20:56.000Z","pushType":"push","commitsCount":13,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"merging latest Dev","shortMessageHtmlLink":"merging latest Dev"}},{"before":"c9b0d9404cbcd5d9c0a6758d059941254e1efc99","after":"7ecf2ccbf482fcc71a8c4743afd8ae7a7a240943","ref":"refs/heads/Dev","pushedAt":"2024-08-26T14:53:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"update rev","shortMessageHtmlLink":"update rev"}},{"before":"2303d284ed8a2551778d70f61d5ec04232f5b09a","after":"c9b0d9404cbcd5d9c0a6758d059941254e1efc99","ref":"refs/heads/Dev","pushedAt":"2024-08-22T19:20:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"changed gaussian_filter implementation in torchlib and cleaned up code","shortMessageHtmlLink":"changed gaussian_filter implementation in torchlib and cleaned up code"}},{"before":"8da4c5aae9e88f4fc09bf58e49824832d47e5681","after":"2303d284ed8a2551778d70f61d5ec04232f5b09a","ref":"refs/heads/Dev","pushedAt":"2024-08-20T20:09:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"passed alpha via broadcast instead of using file system, removed breeding from Rec","shortMessageHtmlLink":"passed alpha via broadcast instead of using file system, removed bree…"}},{"before":"df2630f60d0d27548e81de82bb7e441170acce5c","after":"8da4c5aae9e88f4fc09bf58e49824832d47e5681","ref":"refs/heads/Dev","pushedAt":"2024-08-14T21:02:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"added configuration parameters for multipeak in docs, minor cleaning up","shortMessageHtmlLink":"added configuration parameters for multipeak in docs, minor cleaning up"}},{"before":"fcdfc0a5aec9e5c771055832e0c62f4f0f015783","after":"df2630f60d0d27548e81de82bb7e441170acce5c","ref":"refs/heads/Dev","pushedAt":"2024-08-14T16:33:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"Merging","shortMessageHtmlLink":"Merging"}},{"before":"b7c9b2ce73d6b5f89bc735675387cdf603c9ed02","after":"fcdfc0a5aec9e5c771055832e0c62f4f0f015783","ref":"refs/heads/Dev","pushedAt":"2024-07-25T21:12:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"sync ui","shortMessageHtmlLink":"sync ui"}},{"before":"cfe6bcf9f858b7874d776cca04fbb8a580b23378","after":"517b69421ea9d829d5cf1be8041e1a956aff0509","ref":"refs/heads/update-conda-recipe","pushedAt":"2024-07-22T20:47:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"BLD: Update conda recipe to build from source","shortMessageHtmlLink":"BLD: Update conda recipe to build from source"}},{"before":null,"after":"cfe6bcf9f858b7874d776cca04fbb8a580b23378","ref":"refs/heads/update-conda-recipe","pushedAt":"2024-07-22T20:00:40.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"BLD: Update conda recipe to build from source","shortMessageHtmlLink":"BLD: Update conda recipe to build from source"}},{"before":"5ffcd7058d8bc21ca78d41205e6d71d7ed882da3","after":"c1e4bcc05696ecb2ed113a6de601caa8b921eb89","ref":"refs/heads/pyproject-toml","pushedAt":"2024-07-22T18:43:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"CI: Add Github Action to build package for PYPI","shortMessageHtmlLink":"CI: Add Github Action to build package for PYPI"}},{"before":"da96d4842846430033e476e64637752d239e5e0a","after":"5ffcd7058d8bc21ca78d41205e6d71d7ed882da3","ref":"refs/heads/pyproject-toml","pushedAt":"2024-07-22T18:40:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"CI: Add Github Action to build package for PYPI","shortMessageHtmlLink":"CI: Add Github Action to build package for PYPI"}},{"before":null,"after":"da96d4842846430033e476e64637752d239e5e0a","ref":"refs/heads/pyproject-toml","pushedAt":"2024-07-22T18:35:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"BUG: Fix syntax and add missing section to pyproject.toml","shortMessageHtmlLink":"BUG: Fix syntax and add missing section to pyproject.toml"}},{"before":"8a091e947026f1388efe395ecf09cf52a9e8c1f6","after":null,"ref":"refs/heads/pyproject-toml","pushedAt":"2024-07-22T18:20:29.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"}},{"before":"2f7334570c008ef6660dd45bdfd818b0c500525f","after":"bf88f59b6d85f8ad09a5bf6705e451b023b36019","ref":"refs/heads/4.0.x","pushedAt":"2024-07-22T18:13:37.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"BLD: Convert setup.py to pyproject.toml format (#29)\n\nhttps://packaging.python.org/en/latest/guides/writing-pyproject-toml","shortMessageHtmlLink":"BLD: Convert setup.py to pyproject.toml format (#29)"}},{"before":"3f5b23d587309dd262f4adf95a2cd12f5542252b","after":"8a091e947026f1388efe395ecf09cf52a9e8c1f6","ref":"refs/heads/pyproject-toml","pushedAt":"2024-07-22T17:04:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"BLD: Convert setup.py to pyproject.toml format\n\nhttps://packaging.python.org/en/latest/guides/writing-pyproject-toml","shortMessageHtmlLink":"BLD: Convert setup.py to pyproject.toml format"}},{"before":null,"after":"3f5b23d587309dd262f4adf95a2cd12f5542252b","ref":"refs/heads/pyproject-toml","pushedAt":"2024-07-22T17:02:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"BLD: Convert setup.py to pyproject.toml format\n\nhttps://packaging.python.org/en/latest/guides/writing-pyproject-toml","shortMessageHtmlLink":"BLD: Convert setup.py to pyproject.toml format"}},{"before":null,"after":"2f7334570c008ef6660dd45bdfd818b0c500525f","ref":"refs/heads/4.0.x","pushedAt":"2024-07-22T16:47:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"carterbox","name":"Daniel Ching","path":"/carterbox","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9604511?s=80&v=4"},"commit":{"message":"assigned release tag","shortMessageHtmlLink":"assigned release tag"}},{"before":"66efb9a7b781f831a65ffe4075e140891d6e8f8a","after":"b7c9b2ce73d6b5f89bc735675387cdf603c9ed02","ref":"refs/heads/Dev","pushedAt":"2024-07-11T15:24:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"sync with ui","shortMessageHtmlLink":"sync with ui"}},{"before":"458385ed6f37160c429e3727dac196f0f4ddba0f","after":"66efb9a7b781f831a65ffe4075e140891d6e8f8a","ref":"refs/heads/Dev","pushedAt":"2024-07-11T15:09:27.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"Adaptive multipeak and other updates (#27)\n\n* Additional documentation for multipeak phasing\r\n\r\n* Refactored get_centered to reduce number of numpy function calls.\r\n\r\n* Added a bunch of functions to cplib.py\r\n\r\n* 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.\r\n\r\n* Added several new methods to the cohlib signature:\r\n\r\n- diff\r\n- gradient\r\n- argmin\r\n- take_along_axis\r\n- moveaxis\r\n- lstsq\r\n- zeros\r\n- indices\r\n- concatenate\r\n\r\nThese methods have been implemented in cplib and nplib, but will raise NotImplementedError if called from torchlib or aflib.\r\n\r\n* Removed some experimental code that accidentally got included in this version.\r\n\r\n* Added the following functions to cplib.py: amin(), affine_transform(), pad(), histogram2d(), calc_nmi(), calc_ehd().\r\n\r\nThese have only been implemented in cplib, other libraries are only implemented as stubs.\r\n\r\n* Significant changes that should have been committed earlier:\r\n\r\n- Resampling is now included in the phasing process.\r\n- Added several new error metrics, including normalized mutual information (NMI) and expected histogram deviation (EHD)\r\n- Apply the support constraint to the full object during ER iterations (to prevent buildup of HIO feedback)\r\n- Fixed incorrect normalization when projecting to each Bragg peak.\r\n- Added a \"control_peak\" option to exclude one peak from the phasing process to use for unbiased error calculations.\r\n- Added a \"calc_strain\" option which can skip the slow strain calculation.\r\n- Added a \"fast_resample\" option to toggle whether the original or resampled data is used.\r\n\r\n* Changed the progress output to show the number of voxels in the support region instead of the maximum density.\r\n\r\n* Added stack function to cplib and nplib\r\n\r\nAdded stubs to other libraries.\r\n\r\n* Updates to CoupledRec\r\n\r\n- Separated self.shared_image attribute into separate density (self.rho_image) and displacement field (self.u_image) attributes.\r\n- Axes have been flipped in self.save_res() so that it appears as a stack of images, rather than an image of vectors. Indexing for saved files is now [img, x, y, z].\r\n\r\n* Bugfixes\r\n\r\n- Fixed a bug where u_z was not getting saved to the file.\r\n- Fixed a bug where the strain calculation assumed the old 4-vector variable rather than density and 3-vector.\r\n\r\n* Added support for non-cubic lattices.\r\n\r\nThe \"lattice_size\" parameter in config_mp can now be given as a 6-element list of all the lattice parameters (a, b, c, alpha, beta, gamma). If only a single number X is given, it will read it as (X, X, X, 90, 90, 90).\r\n\r\n* Subtracts a constant offset from the displacement field each time switch_peaks\r\nis called.\r\n\r\n* Added live view option to config_rec\r\n\r\n* Added several functions to cplib.py\r\n\r\nFunctions added: cross, median_filter, uniform_filter, binary_erosion, geomspace, log, integrate_jacobian\r\n\r\n* Correction to reciprocal lattice vector calculation\r\n\r\n* Adds adaptive peak weighting and several other features:\r\n\r\n- Adaptive peak weighting based on NMI between pre-phased and post-phased projection amplitudes (high=good)\r\n- Sum-based normalization of peaks\r\n- Additional save file with no strain information (reduces file size)\r\n- Live preview of reconstruction progress\r\n\r\n* Add functions xlogy and mean to cplib\r\n\r\n* Refactor peak normalization as a Peak class method.\r\n\r\nLaying framework for eventually moving the error calculations into the Peak class as well.\r\n\r\n* Update standard_preprocess.py\r\n\r\nNot sure when or why this got changed, but I changed it back.\r\n\r\n* Update .gitmodules\r\n\r\nAgain, I don't remember changing this, but this should bring it back to normal.\r\n\r\n* Added @staticmethod decorator to all cohlib and subclass methods.\r\n\r\nThe methods didn't call self, and I'm honestly not sure how the methods were working. I would have expected the interpreter to take the first argument as the class instance. Guess I was wrong. In any case, I think it's a good practice.\r\n\r\n* Re-ordered @staticmethod and @abstractmethod decorators\r\n\r\nStatic methods lock all attributes, including __isabstractmethod__\r\n\r\n* Re-added `estimate_no_proc` and `set_lib` which had been deleted at some point.\r\n\r\n* Refactored `CoupledRec` class to match the APS/cohere/Dev branch\r\n\r\n* Moved histogram, NMI, and EHD calculations to dvc_utils.py\r\n\r\nRefactored usages in `CoupledRec` class\r\n\r\n* Updated devlibs\r\n\r\nSome functions have not been implemented in torchlib.py\r\n\r\n* Added a script to lib that checks whether functions have been implemented in cplib but not elsewhere. Should be useful for developing.","shortMessageHtmlLink":"Adaptive multipeak and other updates (#27)"}},{"before":"a6831dc0e0304077e709742fd23f79c2d6738760","after":"458385ed6f37160c429e3727dac196f0f4ddba0f","ref":"refs/heads/Dev","pushedAt":"2024-07-09T19:14:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"added low limit of 2.0 for auto intensity threshold value","shortMessageHtmlLink":"added low limit of 2.0 for auto intensity threshold value"}},{"before":"df4740115c18ce8cb1ecb1eef98c9aafad8494ba","after":"a6831dc0e0304077e709742fd23f79c2d6738760","ref":"refs/heads/Dev","pushedAt":"2024-07-09T19:10:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"corrected instrusctions regarding installation","shortMessageHtmlLink":"corrected instrusctions regarding installation"}},{"before":"35d39cfe45b5c3d5c3fdc556392697a9f4357119","after":"df4740115c18ce8cb1ecb1eef98c9aafad8494ba","ref":"refs/heads/Dev","pushedAt":"2024-07-09T18:07:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"added static decorator","shortMessageHtmlLink":"added static decorator"}},{"before":"2af9da6c6b585885414bd6734098fe4f993ab604","after":"288107bf82d692bcabd089ef628f05f81769fab7","ref":"refs/heads/main","pushedAt":"2024-07-03T16:37:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"Update for_developers.rst (#28)\n\nModified the docs for checking out the Dev branch.","shortMessageHtmlLink":"Update for_developers.rst (#28)"}},{"before":"d6d2c2bf6c1a72dfde5e95edc85aa6597657e4cb","after":"2af9da6c6b585885414bd6734098fe4f993ab604","ref":"refs/heads/main","pushedAt":"2024-06-18T16:44:27.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bfrosik","name":"Barbara Frosik","path":"/bfrosik","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16195888?s=80&v=4"},"commit":{"message":"Merge branch 'Dev' into main","shortMessageHtmlLink":"Merge branch 'Dev' into main"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wNlQxNjozOTowOC4wMDAwMDBazwAAAASvIVls","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wNlQxNjozOTowOC4wMDAwMDBazwAAAASvIVls","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0xOFQxNjo0NDoyNy4wMDAwMDBazwAAAARosu0x"}},"title":"Activity · AdvancedPhotonSource/cohere"}