DIALS
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- name: DIALS meeting 2021-05-12 tags: meeting notes --- # DIALS Meeting 2021-05-12 [![hackmd-github-sync-badge](https://hackmd.io/MK6KYBMJS6ykO5XyKK3T1Q/badge)](https://hackmd.io/MK6KYBMJS6ykO5XyKK3T1Q) ## Agenda - Experiment identifiers - Graeme's proposed changes - CCP4 APS workshop (mid June) - in CDT timezone (UTC-5), (BST-6) - `dials.scale` PRs adding bulk absorption corrections parameters - CBFlib and pycbf ## Discussions ### Dials Scaling Absorption Corrections - James discussed how DIALS doesn't do much for absorption correction by default. There are weight parameters in place but somewhat complicated for users. Wanted to add some sensible "low/medium/high" high-level configuration options. - Have been added to `dials.scale` and `xia2` in [`dials/dials#1688`](https://github.com/dials/dials/pull/1688) and [`xia2/xia2#592`](https://github.com/xia2/xia2/pull/592), but not making them turned on by default yet. - Everyone was asked if they were generally happy having in this sort of broad percentage setting? - A discussion on what the use case for "Medium" correction would be - people seemed generally satisfied that it was worthwhile - Putting in an automatic helper e.g. in xia2 is more complicated, not planning to get in for this release, only a user option for now - Richard asks if we should set it automatically if requesting anomalous scaling - James agreed that it would be worth looking at, but we should spend some time using it first, so leaving off by default. ### CCP4 APS Workshop - CCP4 is running a workshop at APS week of 14th June(?). Graeme is giving several talks - wants to know if David has any more details from inside CCP4. - Configuration is possibly more challenging than other workshops - Argonne security means that cannot run workstations for people to NX into, discussions about deploying and using machines on the cloud. - Graeme asks if several people are available for assistance during the practical data sessions afternoon of Wednesday 16th June - raised as possibly useful for James/Elena - They start 8am (CST/UTC-5) - 14:00 Local time (UTC+1/BST) - Nick: When running BAG? - Ask in beamlines slack channel - no response ### Experiment Identifiers - Graeme has been delving into our experiment and ExperimentList handling as part of [`dials/dials#1694`](https://github.com/dials/dials/pull/1694) and found it intersecting again with the proposals described in [`dials/dials#1029`](https://github.com/dials/dials/issues/1029). - Prepared slides for discussion... ``` Experiment identifier not list position ┌──────┐ ┌──────┐ ┌──────┐┌─▶│ │ │ │◀──┤ ├┘ ├──────┤ ├──────┤ ├──────┤┌─▶│ │ │ │◀──┤ ├┘ └──────┘ ├──────┤ ├──────┤ Nope! │ │◀──┤ ├┐ ┌──────┐ ├──────┤ ├──────┤└─▶│ │ │ │◀──┤ ├┐ ├──────┤ └──────┘ └──────┘└─▶│ │ └──────┘ Refl Expt Parallel Expt ``` - We use the `id` column in reflection table identifiers as corresponding to experiment position in list - This is the worst possible way - cannot split into subsets as now the numbering is wrong if you decide to only refine one experiment out of list of 4 - cannot - Moving to ID as an internal reflection table value, with a corresponding internal map to identifiers was the original motivation - but never got fully implemented - for convenience, existing experiments were labelled as their index, and this was then relied upon - When doing work in [`dials/dials#1694`](https://github.com/dials/dials/pull/1694) it was pointed out that this could be considered Yet Another Identifier - Richard pointed out that identifiers were supposed to help with bookkeeping problems with multicrystal/multiplex - but never really clarified how it was supposed to work - Ben noted that the intent has been here before - not a new idea, still good intent - but the difficulty is that plumbing is torturous - Graeme estimates the effort levels to fix this are ~150 places in the code. With a couple of days and couple of people could be done as a development push - Zeroth order task is coming up with pattern to iterate over experiment list - efficient way of coming up with reflections that map to identifier ``` Create new experiment, not overwrite Import Index ┌──────┐ ┌──────┐ │ │ ╔════▶│ │ └──────┘ ║ └──────┘ ╔════════════════╗ ║ ║ ╠═══╝ ║ ┌──────┐ ║ ┌──────┐ ║ │ │ ║ │ │ ║ └──────┘ ║ └──────┘ ║ Didn't ╚════════════index, Gone! ``` - AKA [`dials/dials#1029`](https://github.com/dials/dials/issues/1029) - When we import experiments and assign reflections - we currently throw away lots of information about where a reflection came from - if we import multiple experiments then index - these are now gone! If we index, then then improve geometry to point where unindexed reflections could be indexed - this information is now gone! - Issues with data model breaking because no guaranteed mapping between reflections and experiments - Believe that we should create new experiments with crystals in for indexing, without overwriting or discarding the existing experiment - Just need to filter out experiments without lattices in downstream processing - We can't just have experiments with no crystal because of multiple lattices - each lattice needs to be in a separate experiment - When asked if there were any objections to this philosophy, there was broad ~~silence~~agreement - The question was raised if there would ever be a reason to go beyond two layers - the danger of it becoming a tree. Graeme elaborated that the intention was that it might not even need a pointer to the parent - would be derivable through shared models ``` Create new Experiment, not overwrite Import ┌──────┐ ┌──────┐ │ ├───┬─┬──▶│ │ Experiment still └──────┘ │ │ └──────┘ exists ┌──────┐ │ │ ┌──────┐ -> Spots not │ ├────────▶│ │ orphaned └──────┘ │ │ └──────┘ │ │ ┌──────┐ │ └──▶│ │ │ └──────┘ │ ┌──────┐ └────▶│ │ └──────┘ ``` - Point of principle: No orphaned reflections ``` Better data container - HDF5 /expt/... /refl/... Create @ spotfind, integrate Update Otherwise ``` - If we kept all of our data in HDF5 files - reflections _and_ Experiments - we could just read data you needed to read - would not need to read all of it - shoeboxes being the main example here - Makes threat of problems from exploding our experiment count with the previous changes go away - Some discussion about whether using HDF5 would put it at risk of being co-opted or coerced into strict NxMX compliance. Although there are some potential areas where we could overlap, deficiencies in the standard and things that we use that aren't represented (e.g. shoeboxes, scan-varying models) would mean that it wouldn't really be suitable for our purposes ``` Reflections with Experiments ┌──────┐ import───────▶│ expt │ └───┬──┘ ┌─────▶refine ┌──────────────┘ │ │ ▼ ┌─────┴┐ │ find_spots────────▶│ rflx │◀─────┘ └──────┘ │ ▲ │ index ◀──────────┘ │ │ │ │ │ └────────────────┘ │ ┌────────┘ ▼ ┌──────┐ integrate───────▶│ rflx │ └──────┘ ``` - If we have reflections and data in HDF5 format, can put in same file - Could give serious thought to not making copies of data files, only updating. - Some discussion over whether this would work as an option or be the only way to interact. It was discussed as a user story, whether users would end up just saving `_1`, `_2`, `_final` copies of the data files - Some discussions about how this would affect reproduceability, and what user tooling would be required to make this manageable - The topic of external data (e.g. masks) was discussed - Two points where we create these files: Spotfinding and integration - Would reduce working disk space ``` ┌───────────────────────┬───────────────────────┐ │ │ │ │ │ │ │ Reflection/ │.─. Create │ │ Expt Identity ) Experiments │ │ │`─' │ │ .───. │ .───. │ │ ( ) │ ( ) │ ├─────────` '─────────┼─────────` '─────────┤ │ │ │ │ │ │ │ Update not │.─. New data │ │ create files ) container │ │ │`─' │ │ │ │ │ │ │ └───────────────────────┴───────────────────────┘ ``` - Four things going on! All interconnected! - A short discussion was had over how much work would be involved in doing this. Graeme thought that it would take four people a few days. - Nick thought that was optimistic, but that it might be worth spending that time as a task force - even if it failed, we would have a much better handle on the problem

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully