Skip to content

Expand get_data to allow the type of data to be returned #190

@samaloney

Description

@samaloney

Don't really like the type or even dtype as they are have other meanings/uses but can't think of an alternative right now maybe vtype for value type

  • c = count
  • cr = count rate
  • dc = differential count
  • dcr = differential count rate
  • dcrf = differential count rate flux

So modify last few line and above as necessary to divid by the appropriate normalisations give the type

counts_err = np.sqrt(counts * u.ct + counts_var) / (e_norm * t_norm)
counts = counts / (e_norm * t_norm)
return counts, counts_err, times, t_norm, energies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions