Skip to content

Add checks to prevent certain non-physical inputs being entered by user #62

Description

@ltmsyvag

Rubidium().getEnergy(n=5, l=0, j=-1/2) (as an example) returns an energy when it shouldn't (I guess?), since total angular momentum quantum number j is negative and probably it cannot be negative. From the function definition it seems when j == -1/2, ARC does not grab recorded experimental energy data, but rather just calculate energy using Rydberg equation. Seems there can be a positivity check for j in the case of S state?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions