Skip to content

Add simulation options similar to what runSimulationBlock expects #5

@astronomyk

Description

@astronomyk

Instructions for Claude:

METIS_Simulations runs a series of simulations using the runSimulationBlock function. E,g

from metis_simulations import runSimulationBlock as rs

if __name__ == '__main__':    

	params = {}
	params['outputDir'] = "output/imgLM"
	params['small'] = False
	params['doStatic'] = True
	params['doCalib'] = 2
	params['sequence'] = True
	params['startMJD'] =  "2027-01-25 00:00:00"
	params['calibFile'] = None
	params['nCores'] = 8
	params['testRun'] = False
	
	yamlFiles = ["YAML/scienceLM.yaml","YAML/stdLM.yaml","YAML/distortionLM.yaml","YAML/detlinLM.yaml"]
	
	rs.runSimulationBlock(yamlFiles,params)

See simulation blocks
or https://raw.githubusercontent.com/AstarVienna/METIS_Simulations/refs/heads/main/README.md

Currently the MTR only lets the user select which yaml files will be added to the runSimulationBlock command. It would be very useful to also have the options available in the GUI to toggle or enter values for the possible params listed in the readme. Please add these options below the YAML files selector box on the "Run page".

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