Skip to content

Add access to plasma model properties #294

Description

@Mateasek

Currently PlasmaModel attributes are not accessible from python. Making some of them accessible would provide an easier way of investigating and understanding results provided by cherab. I think in general it would increase the usefulness of the plasma object and sometimes save a lot of time. For example reaction rates could be obtained from the plasma object instead of the need to construct them manually. This could be also useful for debugging of simulations. I propose adding getters to:

ExcitationLine, ExcitationLine:

  • _line
  • _wavelength
  • _rates

TotalRadiatedPower:

  • _element
  • _charge
  • _plt_rate
  • _prb_rate

Are there any more objections to this idea? There can be a reason for the current state which I missed. Also are there any more ideas which could be connected to this change?

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions