Skip to content

Add dream high-resolution config#108

Merged
nvaytet merged 4 commits intomainfrom
dream-high-flux
Dec 9, 2025
Merged

Add dream high-resolution config#108
nvaytet merged 4 commits intomainfrom
dream-high-flux

Conversation

@nvaytet
Copy link
Copy Markdown
Member

@nvaytet nvaytet commented Dec 3, 2025

No description provided.

@nvaytet nvaytet changed the title Add dreanm high-resolution config Add dream high-resolution config Dec 3, 2025
@nvaytet nvaytet marked this pull request as ready for review December 8, 2025 15:06
Comment on lines +78 to +90
dream_high_resolution = copy.deepcopy(dream_high_flux)
dream_high_resolution["PSC1"]["frequency"]["value"] = 15 * 14.0
dream_high_resolution["PSC1"]["phase"]["value"] = 25 - 180
dream_high_resolution["PSC2"]["frequency"]["value"] = 14 * 14.0
dream_high_resolution["PSC2"]["phase"]["value"] = 100.5
dream_high_resolution["OC"]["frequency"]["value"] = 14.0
dream_high_resolution["OC"]["phase"]["value"] = 297.0 - 180.0 - 90.0
dream_high_resolution["BC"]["frequency"]["value"] = 112.0
dream_high_resolution["BC"]["phase"]["value"] = 200.0 - 180.0
dream_high_resolution["T0"]["frequency"]["value"] = 28.0
dream_high_resolution["T0"]["phase"]["value"] = 270.0 - 180.0


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reference of these numbers...? Are they from the mcstas model repos?

Copy link
Copy Markdown
Member Author

@nvaytet nvaytet Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a confluence page Celine has (plus some offsets due to how mcstas works), but I don't feel like linking confluence pages in the code as they are not accessible from the outside...

But you are right that it's annoying to have magic numbers in here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, I asked so that I can go through it myself and review it but I'll just trust you : D...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll find you the link

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nvaytet nvaytet merged commit d8283d2 into main Dec 9, 2025
4 checks passed
@nvaytet nvaytet deleted the dream-high-flux branch December 9, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants