Skip to content

Is there a way to set a custom wavelengths array in SpectralPowerPipeline0D? #436

@leferi99

Description

@leferi99

I am using Cherab to model AXUV diodes which are sensitive in a very wide spectral range (from 1eV to 1keV+) and I would need a way to define logarithmically spaced spectral bins. Simply trying to set pipeline.wavelengths results in the following error:

AttributeError: attribute 'wavelengths' of 'raysect.optical.observer.pipeline.spectral.power.SpectralPowerPipeline0D' objects is not writable

Can I solve this problem without modifying the Raysect source code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions