Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vos for broadband #1000

Open
Didou09 opened this issue Dec 13, 2024 · 0 comments
Open

vos for broadband #1000

Didou09 opened this issue Dec 13, 2024 · 0 comments

Comments

@Didou09
Copy link
Member

Didou09 commented Dec 13, 2024

dvos, dref = coll.compute_diagnostic_vos(key_mesh='mRZ', res_RZ=0.10, res_phi=0.10, store=True, overwrite=True, visibility=True, config=conf)

Computing vos for diag 'HXRVA_v0_v0':
	cam 'HXRVA_v0_v0_left' pixel 1 / 3	npts in cross_section = 148	(5470 total)	cam 'HXRVA_v0_v0_left' pixel 2 / 3	npts in cross_section = 173	(6336 total)	cam 'HXRVA_v0_v0_left' pixel 3 / 3	npts in cross_section = 149	(5503 total)
 Traceback (most recent call last):

  Cell In[83], line 1
    dvos, dref = coll.compute_diagnostic_vos(key_mesh='mRZ', res_RZ=0.10, res_phi=0.10, store=True, overwrite=True, visibility=True, config=conf)

  File c:\users\dvezinet\documents\projects\tofu\tofu\data\_class08_Diagnostic.py:496 in compute_diagnostic_vos
    return _vos.compute_vos(

  File c:\users\dvezinet\documents\projects\tofu\tofu\data\_class8_vos.py:207 in compute_vos
    ) = func(

  File c:\users\dvezinet\documents\projects\tofu\tofu\data\_class8_vos_broadband.py:221 in _vos
    xx, yy, zz, dind, ir, iz, iphi, dV = _vos_points(

  File c:\users\dvezinet\documents\projects\tofu\tofu\data\_class8_vos_broadband.py:867 in _vos_points
    dphi_r = _utilities._get_dphi_from_R_phor(

  File c:\users\dvezinet\documents\projects\tofu\tofu\data\_class8_vos_utilities.py:385 in _get_dphi_from_R_phor
    dphi[0, ir] = np.min(phi[ind]) - sign*(phi[1] - phi[0])

IndexError: index 1 is out of bounds for axis 0 with size 1

image

Also seems like vos_broadband is struggling with phi getting across pi:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant