Skip to content

USE CASES #181

Open
Open
@Luiskitsu

Description

@Luiskitsu

Generate squeeze morph tests for different user cases.

UC1: Original UC

  1. Caden has a set of PDFs measured as a function of temperature and wants to remove benign temperature effects
  2. Caden runs morph giving a target name from the set and a list of other files to morph to it
  3. morph morphs the morphs onto the target and return morph objects
  4. Caden saves as output morph parameter vs. file and the morphed curves written to file

UC2: as UC1 but programmatic API

  1. UC1.1-1.4 but Caden wants to run the code through an API in jupyter so info is input and output as np arrays and python objects

UC3: morph to synchrotron data

  1. Luis has a synchrotron diffraction pattern and is collecting xfel data over a narrower Q-range
  2. Luis runs morph on a single xfel dataset morphing it to the synchrotron data
  3. Luis saves the morphed pattern written to file and the morph parameters. All the morphed files are on the same Q-grid as the unmorphed XFEL data

UC4: as UC3 but using the API

  1. Luis wants to do UC3 working in jupyter using the API and get the data as python objects.

UC5: as UC3 but xfel data is in coarser grid than synchrotron data

  1. Luis collects xfel data over a narrower Q-range and with a coarser grid compared to synchrotron
  2. Luis runs morph xfel dataset, morphing xfel to the synchrotron data
  3. Luis saves the morphed pattern written to file and the morph parameters. All the morphed files are on the same Q-grid as the unmorphed XFEL data

UC6: as UC5 but using the API

  1. Luis wants to do UC5 working in jupyter using the API and get the data as python objects.

UC7: as UC3 but xfel data is in finer grid than synchrotron data

  1. Luis collects xfel data over a narrower Q-range and with a finer grid compared to synchrotron
  2. Luis runs morph xfel dataset, morphing xfel to the synchrotron data
  3. Luis saves the morphed pattern written to file and the morph parameters. All the morphed files are on the same Q-grid as the unmorphed XFEL data

UC8: as UC7 but using the API

  1. Luis wants to do UC7 working in jupyter using the API and get the data as python objects.

UC9: as UC3 but Qmin xfel < Qmin synchrotron

  1. Luis collects xfel data over a narrower Q-range but with a lower Qmin compared to synchrotron
  2. Luis runs morph xfel dataset, morphing xfel to the synchrotron data
  3. Luis saves the morphed pattern written to file and the morph parameters. All the morphed files are on the same Q-grid as the unmorphed XFEL data

UC10: as UC5 but using the API

  1. Luis wants to do UC9 working in jupyter using the API and get the data as python objects.

UC11: morph to MD simulated data

  1. Keith has scattering pattern simulated via molecular dynamics and wants to compare it against several lab-based scattering patterns that cover a broader Q-range than the simulated data.
  2. Keith runs morph on all the lab-based datasets, morphing them to the simulated data
  3. Keith saves as output morph parameter vs. file and the morphed data written to file. All the morphed files are on the same Q-grid as the unmorphed XFEL data

UC12: as UC5 but using the API

  1. Keith wants to do UC11.1-11.3 in jupyter notebook using the API and get the data as python objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions