rubin_sim.moving_objects.run_obs(orbits, simdata, colmap, obs_file, footprint='camera', r_fov=1.75, x_tol=5, y_tol=3, eph_mode='nbody', prelim_eph_mode='nbody', obs_code='I11', eph_type='basic', t_step=1, rough_tol=10, obs_metadata=None)

Generate the observations.


Orbits for which to calculate observations


The simulated pointing history data from OpSim


Dictionary of the column mappings (from column names here to opsim columns).


Output file for the observations

footprintstr, opt

Footprint - camera, circle or rectangle. Default camera footprint.

r_fovfloat, opt

If using a circular FOV, this is the radius of that circle. Default 1.75, but only used if footprint is ‘circle’.

x_tolfloat, opt

If using a rectangular footprint, this is the tolerance in the RA direction. Default 5.

y_tolfloat, opt

If using a rectangular footprint, this is the tolerance in the Dec direction Default 3.

eph_modestr, opt

Ephemeris generation mode (2body or nbody) for exact matching. Default nbody.

prelim_eph_modestr, opt

Preliminary (rough grid) ephemeris generation mode (2body or nbody). Default nbody.

obs_codestr, opt

Observatory code for ephemeris generation. Default I11 = Cerro Pachon.

eph_typestr, opt

ephemeris type (from oorb.generate_ephemeris) to return (‘full’ or ‘basic’). Default ‘basic’.

t_stepfloat, opt

Time step for rough grid, in days. Default 1 day.

rough_tolfloat, opt

Tolerance in degrees between rough grid position and opsim pointings. Default 10 deg.

obs_metadatastr, opt

Metadata to write into output file header.