sandy package
- class sandy.DuplicateFilter
Bases:
object
Define a filter which keeps track of what was logged, and attach it to your logger for the duration of a loop.
Methods
filter
- filter(record)
- exception sandy.Error
Bases:
Exception
- class sandy.ShutdownHandler(level=0)
Bases:
Handler
Trigger exit on errors.
- Attributes:
- name
Methods
acquire
()Acquire the I/O thread lock.
addFilter
(filter)Add the specified filter to this handler.
close
()Tidy up any resources used by the handler.
createLock
()Acquire a thread lock for serializing access to the underlying I/O.
emit
(record)Do whatever it takes to actually log the specified logging record.
filter
(record)Determine if a record is loggable by consulting all the filters.
flush
()Ensure all logging output has been flushed.
format
(record)Format the specified record.
handle
(record)Conditionally emit the specified logging record.
handleError
(record)Handle errors which occur during an emit() call.
release
()Release the I/O thread lock.
removeFilter
(filter)Remove the specified filter from this handler.
setFormatter
(fmt)Set the formatter for this handler.
setLevel
(level)Set the logging level of this handler.
get_name
set_name
- emit(record)
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.
Subpackages
- sandy.aleph2 package
- sandy.core package
- sandy.mcnp package
- sandy.sections package
- Submodules
- sandy.sections.mf1 module
- sandy.sections.mf10 module
- sandy.sections.mf2 module
- sandy.sections.mf3 module
- sandy.sections.mf31 module
- sandy.sections.mf32 module
- sandy.sections.mf33 module
- sandy.sections.mf34 module
- sandy.sections.mf35 module
- sandy.sections.mf4 module
- sandy.sections.mf5 module
- sandy.sections.mf6 module
- sandy.sections.mf7 module
- sandy.sections.mf8 module
- sandy.sections.mf9 module
- Submodules
Submodules
- sandy.constants module
- sandy.decay module
BranchingRatio
DecayData
DecayData.data
DecayData.from_endf6()
DecayData.get_bmatrix()
DecayData.get_branching_ratio()
DecayData.get_chain_yield_sensitivity()
DecayData.get_decay_chains()
DecayData.get_decay_energy()
DecayData.get_half_life()
DecayData.get_nuclides()
DecayData.get_pn()
DecayData.get_qmatrix()
DecayData.get_transition_matrix()
DecayData.to_endf6()
DecayEnergy
HalfLife
- sandy.energy_grids module
- sandy.errorr module
- sandy.functions module
- sandy.fy module
- sandy.gendf module
- sandy.gls module
- sandy.libraries module
- sandy.njoy module
- sandy.pert module
- sandy.pfns module
- sandy.sampling module
- sandy.settings module
- sandy.shared module
- sandy.spectra module
- sandy.tools module
- sandy.tsl module
- sandy.utils module
- sandy.zam module