Skip to content

plasma properties not affecting emission from cherab.core Beam() #498

@Cam42069

Description

@Cam42069

Dear Cherab Team,

I am new to using cherab and have been trying to setup a CXRS emission sim for the HSX stellarator but I'm running into issues where varying plasma parameters has no effect on the observed emission. I've been through the docs, examples, and repo to no avail yet.

Specifically, changing the plasma's geometry is what is bothering me most. To my understanding you can define a raysect primitive like Box(), add it to the plasma object's geometry field and the profiles you defined in species will fit to your geometry along some axis. However, no matter the plasma size or shape the observed emission stays the same. It also remains the same when I change the plasma species' properties like dens, temp, etc.

The only way I can change the beam's emission is by changing the beam parameters, which makes me think the observation is purely of the beam with no regard to the plasma.

I have been basing my work off of the Active Spectroscopy CXS example and I have attached a sample code that shows this problem with a Box() and Cylinder() primitive.

Is this just a misunderstanding on my part or is this a bug in the code?

cxrs_beam_issue.py

Thank you,
Cam

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions