Skip to content

USE CASES - getmud module #181

Open
Open
@yucongalicechen

Description

@yucongalicechen

Problem

(Replace #166, I'm starting from UC1 again for numbering)

UC1: Compute mu and diameter

  1. User specifies sample composition and energy.
  2. lpp.gm computes mu for a fully dense sample.
  3. lpp.gm returns mu and recommends diameter(s) (e.g., 1mm, 1.5mm, 2mm).

UC2: Compute diameter from target muD

  1. User has sample composition, energy, and packing fraction and a target muD in mind, and wants to check the diameter.
  2. User provides this information to lpp.gm.
  3. lpp.gm returns the target diameter.

UC3: Compute muD from zscan

  1. User has a zscan file, and wants to check muD.
  2. User uploads zscan file to lpp.gm.
  3. lpp.gm returns muD.

UC4: Compute muD theoretically

  1. User specifies sample composition, energy, sample mass density, and diameter.
  2. User provides this information to lpp.gm.
  3. lpp.gm returns muD.

We also need CLI and GUI interface for each UC. They might look like:

  1. labpdfproc getmud compute_mu_and_diameter -s <sample_composition> -e <energy>
  2. labpdfproc getmud compute_diameter_from_mud -s <sample_composition> -e <energy> -p <packing_fraction> -m <target_muD>
  3. labpdfproc getmud compute_mud_from_zscan -z <zscan_file>
  4. labpdfproc getmud compute_theoretical_mud -s <sample_composition> -e <energy> -m <mass_density> -d <diameter>
    (Check feat: getmud UC1 (get_diameter) #184 for a previous implementation of CLI. Check Regolith main.py)

Proposed solution

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