Output

class nexoclom.Output(inputs, npackets, compress=True, logger=None)[source]

Bases: object

Determine and store packet trajectories.

Parameters

inputs

An Input object with the run parameters.

npackets

Number of packets to run.

compress

Remove packets with frac=0 from the outputs to reduce file size. Default = True

Class Attributes

x0, y0, z0

f0

vx0, vy0, vz0

phi0, lat0, lon0

time, x, y, z, vx, vy, vz index, npackets, totalsource

inputs

The inputs used for the simulation

logfile

Path to file with output log

compress

Whether output is compressed.

unit

Basic length unit used. Equal to radius of central planet.

GM

GM_planet in units of R_planet/s**2

aplanet

Distance of planet from the Sun in AU

vrplanet

Radial velocity of planet relative to the Sun in R_planet/s

radpres

Radiation pressure object containing acceleration as funtion of velocity in units of R_planet/s**2 and R_planet/s

Methods Summary

Output.determine_filename

Output.driver

restore(filename)

save()

Add output to database and save as a pickle.

Output.source_distribution

Output.stream_driver

Methods Documentation

classmethod restore(filename)[source]
save()[source]

Add output to database and save as a pickle.