Global rc simulation parametersΒΆ

Default global simulation parameters used as a base layer for all instruments.

Also accessible via an empty scopesim.UserCommands() or via an empty scopesim.OpticalTrain()object

[5]:
import scopesim

scopesim.rc.__currsys__["!SIM.random.seed"] = 9001
scopesim.rc.__currsys__["!SIM.file.local_packages_path"] = "./"

scopesim.rc.__currsys__["!SIM"]
[5]:
{'spectral': {'wave_min': 0.3,
  'wave_mid': 2.2,
  'wave_max': 20,
  'wave_unit': 'um',
  'spectral_bin_width': 0.0001,
  'spectral_resolution': 5000,
  'minimum_throughput': 1e-06,
  'minimum_pixel_flux': 1},
 'sub_pixel': {'flag': False, 'fraction': 1},
 'random': {'seed': 9001},
 'computing': {'chunk_size': 2048,
  'max_segment_size': 16777217,
  'oversampling': 1,
  'spline_order': 1,
  'flux_accuracy': 0.001,
  'preload_field_of_views': False,
  'bg_cell_width': 60},
 'file': {'local_packages_path': './',
  'server_base_url': 'https://www.univie.ac.at/simcado/InstPkgSvr/',
  'use_cached_downloads': False,
  'search_path': ['./inst_pkgs/', './'],
  'error_on_missing_file': False},
 'reports': {'ip_tracking': False,
  'verbose': False,
  'rst_path': './reports/rst/',
  'latex_path': './reports/latex/',
  'image_path': './reports/images/',
  'image_format': 'png',
  'preamble_file': 'None'},
 'logging': {'log_to_file': False,
  'log_to_console': True,
  'file_path': '.scopesim.log',
  'file_open_mode': 'w',
  'file_level': 'DEBUG',
  'console_level': 'INFO'},
 'tests': {'run_integration_tests': True, 'run_skycalc_ter_tests': True}}