Skip to content

Allow change of units and more... #1

@lpatiny

Description

@lpatiny

Ideally spectra are stored in SI but anyway the units have to be specify in the xAxis and yAxis

A user may want to see the spectrum in another unit (like A to mA) and we can use 'mathjs' in order to make conversion.

In some cases there may be some more complex processing that just a change of unit and we need to think about a general way. This includes:

  • x axis shift
  • y scaling
  • y modification based on a factor with change of units !
    • ex: IV curves for which we want to divide the yAxis by the surface. So unit may become mA/cm^2

This feature could be an option of getChart and getData. It could also be only available during normalization

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