Module ImportFrom alias alias Import alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If BoolOpAnd Call NameLoad NameLoad Str CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Expr Call NameLoad Str NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If BoolOpAnd Call NameLoad NameLoad Str CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call NameLoad NameLoad NameLoad body If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad orelse Raise Call NameLoad Str If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Raise Call NameLoad Str If CompareNotEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr CompareLtE NameLoad Num body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr CompareLt NameLoad Num body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr BinOpBitOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr BinOpBitOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr Dict Str Str NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad BinOpMult BinOpDiv NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Pass orelse Raise Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad Str CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword ListLoad Num Num orelse If BoolOpAnd CompareEq NameLoad Str CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword ListLoad Num Num orelse If BoolOpAnd CompareEq NameLoad Str CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad NameLoad attr CompareGt NameLoad Num body Raise Call NameLoad Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Raise Call NameLoad Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore NameLoad body If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body If CompareNotEq AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr TupleLoad Num Num body Raise Call NameLoad Str orelse If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq AttributeLoad NameLoad attr TupleLoad Num Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If BoolOpAnd UnaryOpNot Call NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body If NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ print_function division N/A numpy np astropy.table Table Column grid.amr_grid AMRGridView util.functions B_nu random_id FreezableClass is_numpy_array bool2str str2bool monotonically_increasing util.integrate integrate_loglog util.validator validate_scalar astropy log logger read_source N/A N/A handle N/A N/A N/A source_type N/A N/A N/A N/A handle attrs N/A type decode ascii N/A N/A source_type spot N/A N/A N/A N/A SpotSource read handle N/A N/A N/A source_type point N/A N/A N/A N/A PointSource read handle N/A N/A N/A source_type point_collection N/A N/A N/A N/A PointSourceCollection read handle N/A N/A N/A source_type sphere N/A N/A N/A N/A SphericalSource read handle N/A N/A N/A source_type extern_sph N/A N/A N/A N/A ExternalSphericalSource read handle N/A N/A N/A source_type extern_box N/A N/A N/A N/A ExternalBoxSource read handle N/A N/A N/A source_type map N/A N/A N/A N/A MapSource read handle N/A N/A N/A source_type plane_parallel N/A N/A N/A N/A PlaneParallelSource read handle N/A N/A N/A ValueError N/A N/A Unexpected source type: {0} format source_type N/A Source N/A FreezableClass N/A N/A 
    This class is not meant to be used directly, but forms the basis for all other source types.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A name N/A N/A N/A self name name N/A N/A N/A self name N/A random_id length 8 N/A N/A self peeloff peeloff N/A N/A self luminosity None N/A N/A self spectrum None N/A N/A self temperature None N/A N/A N/A self _freeze N/A kwarg kwargs N/A N/A N/A N/A self __setattr__ kwarg N/A kwargs N/A kwarg N/A name N/A N/A self N/A N/A N/A 
        A string identifying the source (optional)
         N/A N/A self _name N/A property name N/A N/A self value N/A N/A N/A N/A self _name value N/A N/A name setter luminosity N/A N/A self N/A N/A N/A 
        The bolometric luminosity of the source (ergs/s)
         N/A N/A self _luminosity N/A property luminosity N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A validate_scalar luminosity value domain positive N/A N/A self _luminosity value N/A N/A luminosity setter _read_luminosity N/A N/A self handle N/A N/A N/A N/A self luminosity N/A N/A handle attrs N/A luminosity N/A _write_luminosity N/A N/A self handle N/A N/A N/A N/A N/A handle attrs N/A luminosity N/A self luminosity N/A temperature N/A N/A self N/A N/A N/A 
        The temperature of the source (K)
         N/A N/A self _temperature N/A property temperature N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A hasattr self _spectrum N/A N/A self _spectrum None N/A N/A N/A Exception A spectrum has already been set, so cannot set a temperature N/A N/A validate_scalar temperature value domain positive N/A N/A self _temperature value N/A N/A temperature setter spectrum N/A N/A self N/A N/A N/A 
        The spectrum of the source, specified either as an astropy.table.Table
        instance with ``'nu'`` and ``'fnu'`` columns, or as a ``(nu, fnu)``
        tuple, where the frequency is given in Hz, and the flux is given as
        F_nu (units are unimportant since the normalization is set by the
        luminosity).
         N/A N/A self _spectrum N/A property spectrum N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A hasattr self _temperature N/A N/A self _temperature None N/A N/A N/A Exception A temperature has already been set, so cannot set a spectrum N/A N/A isinstance value Table N/A N/A N/A nu N/A value columns N/A N/A N/A TypeError spectrum Table does not contain a 'nu' column N/A N/A fnu N/A value columns N/A N/A N/A TypeError spectrum Table does not contain an 'fnu' column N/A N/A nu fnu N/A N/A value N/A nu N/A value N/A fnu N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A len value 2 N/A N/A N/A nu fnu value N/A N/A N/A TypeError spectrum tuple or list should contain two elements N/A N/A N/A type nu N/A list tuple N/A N/A nu N/A N/A np array nu dtype float N/A N/A nu N/A N/A nu astype float N/A N/A N/A type fnu N/A list tuple N/A N/A fnu N/A N/A np array fnu dtype float N/A N/A fnu N/A N/A fnu astype float N/A N/A N/A N/A is_numpy_array nu N/A N/A nu ndim 1 N/A N/A N/A TypeError nu should be a 1-D sequence N/A N/A N/A N/A is_numpy_array fnu N/A N/A fnu ndim 1 N/A N/A N/A TypeError fnu should be a 1-D sequence N/A N/A N/A nu shape N/A fnu shape N/A N/A N/A TypeError nu and fnu should have the same shape N/A N/A N/A TypeError spectrum should be specified either as an astropy.table.Table instance, or a tuple of two 1-D Numpy arrays (nu, fnu) with the same length N/A N/A N/A len N/A N/A np unique nu N/A len nu N/A N/A N/A ValueError nu sequence contains duplicate values N/A N/A N/A np any N/A nu 0.0 N/A N/A N/A ValueError nu should be strictly positive N/A N/A N/A np any N/A fnu 0.0 N/A N/A N/A ValueError fnu should be positive N/A N/A N/A np any N/A N/A N/A np isnan nu N/A N/A np isinf nu N/A N/A N/A ValueError nu contains NaN/Inf values N/A N/A N/A np any N/A N/A N/A np isnan fnu N/A N/A np isinf fnu N/A N/A N/A ValueError fnu contains NaN/Inf values N/A N/A N/A monotonically_increasing nu N/A N/A N/A N/A logger warn Spectrum is being re-sorted in order of increasing frequency N/A order N/A N/A np argsort nu N/A nu N/A nu N/A order N/A fnu N/A fnu N/A order N/A N/A self _spectrum N/A nu fnu nu fnu N/A N/A N/A self _spectrum value N/A N/A spectrum setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A self luminosity None N/A N/A N/A ValueError luminosity is not set N/A get_spectrum N/A N/A self nu_range N/A None N/A N/A N/A N/A self _check_all_set N/A N/A N/A self spectrum None N/A N/A N/A nu fnu N/A N/A N/A self spectrum N/A nu N/A N/A self spectrum N/A fnu N/A N/A nu_range None N/A N/A N/A NotImplemented nu_range not yet implemented for spectrum N/A N/A N/A N/A self temperature None N/A N/A N/A nu_range None N/A N/A N/A ValueError nu_range is needed for sources with Planck spectra N/A nu N/A N/A np logspace N/A N/A np log10 N/A nu_range N/A 0 N/A N/A np log10 N/A nu_range N/A 1 N/A N/A nu N/A 0 N/A nu_range N/A 0 N/A N/A nu N/A -1 N/A nu_range N/A 1 N/A fnu N/A B_nu nu N/A self temperature N/A N/A N/A Exception Not implemented N/A norm N/A integrate_loglog nu fnu N/A N/A nu N/A N/A fnu norm N/A self luminosity N/A read N/A N/A cls handle N/A N/A N/A self N/A cls N/A N/A N/A self _read_luminosity handle N/A N/A self name N/A N/A N/A N/A handle attrs N/A name decode utf-8 N/A N/A self peeloff N/A str2bool N/A N/A handle attrs N/A peeloff N/A N/A N/A N/A handle attrs N/A spectrum spectrum N/A N/A N/A self spectrum N/A Table N/A N/A np array N/A handle N/A spectrum N/A N/A N/A N/A N/A handle attrs N/A spectrum temperature N/A N/A N/A self temperature N/A N/A handle attrs N/A temperature N/A N/A N/A N/A N/A handle attrs N/A spectrum lte N/A N/A N/A N/A N/A ValueError N/A Unexpected value for `spectrum`: %s N/A N/A handle attrs N/A spectrum N/A self N/A classmethod write N/A N/A self handle N/A N/A N/A N/A N/A self _check_all_set N/A N/A N/A self _write_luminosity handle N/A N/A N/A handle attrs N/A name N/A N/A np string_ N/A N/A N/A self name encode utf-8 N/A N/A N/A handle attrs N/A peeloff N/A N/A np string_ N/A bool2str N/A self peeloff N/A N/A N/A self spectrum None N/A N/A N/A N/A handle attrs N/A spectrum N/A N/A np string_ N/A N/A spectrum encode utf-8 N/A table N/A Table N/A N/A N/A table add_column N/A Column data N/A N/A self spectrum N/A nu name nu N/A N/A N/A table add_column N/A Column data N/A N/A self spectrum N/A fnu name fnu N/A N/A N/A table write handle path spectrum N/A N/A N/A N/A self temperature None N/A N/A N/A N/A handle attrs N/A spectrum N/A N/A np string_ N/A N/A temperature encode utf-8 N/A N/A N/A handle attrs N/A temperature N/A self temperature N/A N/A N/A N/A handle attrs N/A spectrum N/A N/A np string_ N/A N/A lte encode utf-8 N/A has_lte_spectrum N/A N/A self N/A N/A N/A N/A N/A N/A self spectrum None N/A N/A self temperature None N/A N/A SpotSource N/A Source N/A __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A 
        A spot on a spherical source

        Parameters
        ----------
        name : str, optional
            The name of the source
        peeloff : bool, optional
            Whether to peel-off photons from this source

        Any additional arguments are are used to initialize attributes.

        Attributes
        ----------
        luminosity : float
            The luminosity of the source (in ergs/s)
        spectrum : astropy.table.Table or tuple
            The spectrum of the source, specified either as:
                * an Astropy Table with ``nu`` and ``fnu`` column
                * a ``(nu, fnu)`` tuple
            ``nu`` should be in Hz, and the units for ``fnu`` are not
            important, since the luminosity determined the absolute scaling``
        temperature : float
            The temperature of the source (in K)
        longitude : float
            The longitude of the spot on the spherical source (in degrees)
        latitude : float
            The latitude of the spot on the spherical source (in degrees)
        radius : float
            The radius of the spherical source (in cm)
         N/A N/A self longitude None N/A N/A self latitude None N/A N/A self radius None N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self longitude None N/A N/A N/A ValueError longitude is not set N/A N/A N/A self latitude None N/A N/A N/A ValueError latitude is not set N/A N/A N/A self radius None N/A N/A N/A ValueError radius is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError Spot source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type spot N/A N/A N/A ValueError Source is not a SpotSource N/A self N/A N/A N/A super SpotSource cls read handle N/A N/A self longitude N/A N/A handle attrs N/A longitude N/A N/A self latitude N/A N/A handle attrs N/A latitude N/A N/A self radius N/A N/A handle attrs N/A radius N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A spot encode utf-8 N/A N/A N/A g attrs N/A longitude N/A self longitude N/A N/A N/A g attrs N/A latitude N/A self latitude N/A N/A N/A g attrs N/A radius N/A self radius N/A N/A N/A Source write self g N/A __setattr__ N/A N/A self attribute value N/A N/A N/A N/A N/A attribute longitude N/A value None N/A N/A N/A validate_scalar longitude value domain N/A 0 360 N/A N/A N/A N/A attribute latitude N/A value None N/A N/A N/A validate_scalar latitude value domain N/A -90 90 N/A N/A N/A N/A attribute radius N/A value None N/A N/A N/A validate_scalar radius value domain positive N/A N/A N/A Source __setattr__ self attribute value N/A N/A PointSource N/A Source N/A N/A 
    A point source.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A N/A self position N/A 0.0 0.0 0.0 N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A position N/A N/A self N/A N/A N/A 
        The cartesian position of the source ``(x, y, z)`` as a sequence of three floating-point values (cm)
         N/A N/A self _position N/A property position N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 1 N/A N/A N/A ValueError position should be a 1-D sequence N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A ValueError position should be a tuple, list, or Numpy array N/A N/A self _position value N/A N/A position setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self position None N/A N/A N/A ValueError position is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError Point source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type point N/A N/A N/A ValueError Source is not a PointSource N/A self N/A N/A N/A super PointSource cls read handle N/A N/A self position N/A N/A N/A handle attrs N/A x N/A N/A handle attrs N/A y N/A N/A handle attrs N/A z N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A point encode utf-8 N/A N/A N/A g attrs N/A x N/A N/A self position N/A 0 N/A N/A N/A g attrs N/A y N/A N/A self position N/A 1 N/A N/A N/A g attrs N/A z N/A N/A self position N/A 2 N/A N/A N/A Source write self g N/A N/A PointSourceCollection N/A Source N/A N/A 
    A point source.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A N/A self position None N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A luminosity N/A N/A self N/A N/A N/A 
        The bolometric luminosity for the N sources as a 1-D Numpy array (ergs/s)
         N/A N/A self _luminosity N/A property luminosity N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 1 N/A N/A N/A ValueError luminosity should be a 1-D array N/A N/A N/A N/A np all N/A value 0.0 N/A N/A N/A ValueError luminosity should be positive N/A N/A N/A N/A self position None N/A N/A N/A value shape N/A 0 N/A N/A N/A self position shape N/A 0 N/A N/A N/A ValueError luminosity should be a 1-D array with the same number of rows as position N/A N/A N/A ValueError luminosity should be a Numpy array N/A N/A self _luminosity value N/A N/A luminosity setter _read_luminosity N/A N/A self handle N/A N/A N/A N/A self luminosity N/A N/A np array N/A handle N/A luminosity N/A _write_luminosity N/A N/A self handle N/A N/A N/A N/A N/A handle create_dataset luminosity data N/A self luminosity compression True N/A position N/A N/A self N/A N/A N/A 
        The cartesian position of the N sources ``(x, y, z)`` as a 2-D Numpy array with shape Nx3 (cm)
         N/A N/A self _position N/A property position N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 2 N/A N/A N/A ValueError position should be a 2-D array N/A N/A N/A N/A value shape N/A 1 3 N/A N/A N/A ValueError position should be an Nx3 array N/A N/A N/A N/A self luminosity None N/A N/A N/A value shape N/A 0 N/A N/A N/A self luminosity shape N/A 0 N/A N/A N/A ValueError position should be a 1-D array with the same number of rows as luminosity N/A N/A N/A ValueError position should be a Numpy array N/A N/A self _position value N/A N/A position setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self position None N/A N/A N/A ValueError position is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError Point source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type point_collection N/A N/A N/A ValueError Source is not a PointSource N/A self N/A N/A N/A super PointSourceCollection cls read handle N/A N/A self position N/A N/A np array N/A handle N/A position N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A point_collection encode utf-8 N/A N/A N/A g create_dataset position data N/A self position compression True N/A N/A N/A Source write self g N/A N/A SphericalSource N/A Source N/A N/A 
    A spherical source

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A N/A self position N/A 0.0 0.0 0.0 N/A N/A self radius None N/A N/A self limb False N/A N/A self _spots N/A N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A radius N/A N/A self N/A N/A N/A 
        The radius of the source (cm)
         N/A N/A self _radius N/A property radius N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A validate_scalar radius value domain positive N/A N/A self _radius value N/A N/A radius setter position N/A N/A self N/A N/A N/A 
        The cartesian position of the source ``(x, y, z)`` as a sequence of three floating-point values (cm)
         N/A N/A self _position N/A property position N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 1 N/A N/A N/A ValueError position should be a 1-D sequence N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A ValueError position should be a tuple, list, or Numpy array N/A N/A self _position value N/A N/A position setter limb N/A N/A self N/A N/A N/A 
        Whether to include limb darkening
         N/A N/A self _limb N/A property limb N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A isinstance value bool N/A N/A N/A ValueError limb should be a boolean value (True/False) N/A N/A self _limb value N/A N/A limb setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self position None N/A N/A N/A ValueError position is not set N/A N/A N/A self radius None N/A N/A N/A ValueError radius is not set N/A N/A N/A self limb None N/A N/A N/A ValueError limb is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError Spherical source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type sphere N/A N/A N/A ValueError Source is not a SphericalSource N/A self N/A N/A N/A super SphericalSource cls read handle N/A N/A self position N/A N/A N/A handle attrs N/A x N/A N/A handle attrs N/A y N/A N/A handle attrs N/A z N/A N/A self radius N/A N/A handle attrs N/A r N/A N/A self limb N/A str2bool N/A N/A handle attrs N/A limb N/A group handle N/A N/A N/A Spot group N/A N/A N/A N/A N/A self _spots append N/A N/A SpotSource read N/A handle N/A group N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A sphere encode utf-8 N/A N/A N/A g attrs N/A x N/A N/A self position N/A 0 N/A N/A N/A g attrs N/A y N/A N/A self position N/A 1 N/A N/A N/A g attrs N/A z N/A N/A self position N/A 2 N/A N/A N/A g attrs N/A r N/A self radius N/A N/A N/A g attrs N/A limb N/A N/A np string_ N/A bool2str N/A self limb N/A N/A N/A Source write self g N/A N/A i spot N/A enumerate N/A self _spots N/A N/A N/A N/A spot write g N/A Spot %i i N/A add_spot N/A N/A self N/A args kwargs N/A N/A 
        Add a spot to the source.

        All arguments are passed to :class:`~hyperion.sources.SpotSource`,
        so see that class for more details
         N/A spot N/A SpotSource args kwargs N/A N/A N/A N/A self _spots append spot N/A spot N/A N/A ExternalSphericalSource N/A Source N/A N/A 
    An spherical external source.

    This can be used for example to simulate the interstellar radiation
    field. This source is similar to :class:`~hyperion.sources.SphericalSource`
    but emits photons *inwards*.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A N/A self position N/A 0.0 0.0 0.0 N/A N/A self radius None N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A radius N/A N/A self N/A N/A N/A 
        The radius of the source (cm)
         N/A N/A self _radius N/A property radius N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A validate_scalar radius value domain positive N/A N/A self _radius value N/A N/A radius setter position N/A N/A self N/A N/A N/A 
        The cartesian position of the source ``(x, y, z)`` as a sequence of three floating-point values (cm)
         N/A N/A self _position N/A property position N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 1 N/A N/A N/A ValueError position should be a 1-D sequence N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A ValueError position should be a tuple, list, or Numpy array N/A N/A self _position value N/A N/A position setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self position None N/A N/A N/A ValueError position is not set N/A N/A N/A self radius None N/A N/A N/A ValueError radius is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError External spherical source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type extern_sph N/A N/A N/A ValueError Source is not a ExternalSphericalSource N/A self N/A N/A N/A super ExternalSphericalSource cls read handle N/A N/A self position N/A N/A N/A handle attrs N/A x N/A N/A handle attrs N/A y N/A N/A handle attrs N/A z N/A N/A self radius N/A N/A handle attrs N/A r N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A extern_sph encode utf-8 N/A N/A N/A g attrs N/A x N/A N/A self position N/A 0 N/A N/A N/A g attrs N/A y N/A N/A self position N/A 1 N/A N/A N/A g attrs N/A z N/A N/A self position N/A 2 N/A N/A N/A g attrs N/A r N/A self radius N/A N/A N/A Source write self g N/A N/A ExternalBoxSource N/A Source N/A N/A 
    An rectangular external source.

    This can be used for example to simulate the interstellar radiation
    field. This source emits *inwards*.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A N/A self bounds None N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A bounds N/A N/A self N/A N/A N/A 
        The cartesian boundaries of the rectangular box specified
        as ``[[xmin, xmax], [ymin, ymax], [zmin, zmax]]`` (cm).
         N/A N/A self _bounds N/A property bounds N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A N/A N/A np array value shape N/A 3 2 N/A N/A N/A ValueError bounds should be a sequence of 3 pairs of values N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 2 N/A N/A N/A ValueError bounds should be a 2-d array N/A N/A N/A value shape N/A 3 2 N/A N/A N/A ValueError bounds should have a shape of (3, 2) N/A N/A N/A ValueError bounds should be a tuple, list, or Numpy array N/A N/A self _bounds value N/A N/A bounds setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self bounds None N/A N/A N/A ValueError bounds is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError External spherical source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type extern_box N/A N/A N/A ValueError Source is not a ExternalBoxSource N/A self N/A N/A N/A super ExternalBoxSource cls read handle N/A N/A self bounds N/A N/A N/A N/A handle attrs N/A xmin N/A N/A handle attrs N/A xmax N/A N/A N/A handle attrs N/A ymin N/A N/A handle attrs N/A ymax N/A N/A N/A handle attrs N/A zmin N/A N/A handle attrs N/A zmax N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A extern_box encode utf-8 N/A N/A N/A g attrs N/A xmin N/A N/A N/A self bounds N/A 0 N/A 0 N/A N/A N/A g attrs N/A xmax N/A N/A N/A self bounds N/A 0 N/A 1 N/A N/A N/A g attrs N/A ymin N/A N/A N/A self bounds N/A 1 N/A 0 N/A N/A N/A g attrs N/A ymax N/A N/A N/A self bounds N/A 1 N/A 1 N/A N/A N/A g attrs N/A zmin N/A N/A N/A self bounds N/A 2 N/A 0 N/A N/A N/A g attrs N/A zmax N/A N/A N/A self bounds N/A 2 N/A 1 N/A N/A N/A Source write self g N/A N/A MapSource N/A Source N/A N/A 
    A diffuse source.

    This can be used for example to simulate the interstellar radiation
    field. This source emits *inwards*.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None True kwargs N/A N/A N/A self map None N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A map N/A N/A self N/A N/A N/A 
        The relative luminosity in each cell, given as a Numpy array or an AMRGridView instance
         N/A N/A self _map N/A property map N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A N/A is_numpy_array value N/A N/A isinstance value AMRGridView N/A N/A N/A ValueError map should be a Numpy array or an AMRGridView instance N/A N/A self _map value N/A N/A map setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self map None N/A N/A N/A ValueError map is not set N/A N/A N/A is_numpy_array N/A self map N/A N/A np all N/A N/A self map 0.0 N/A N/A N/A ValueError map is zero everywhere N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type map N/A N/A N/A ValueError Source is not a MapSource N/A self N/A N/A N/A super MapSource cls read handle N/A N/A self map N/A N/A np array N/A handle N/A Luminosity map N/A self N/A classmethod write N/A N/A self handle name grid compression map_dtype N/A True float N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A map encode utf-8 N/A N/A N/A grid write_single_array g Luminosity map N/A self map compression compression physics_dtype map_dtype N/A N/A N/A Source write self g N/A N/A PlaneParallelSource N/A Source N/A N/A 
    A circular plane-parallel source.

    This source emits all photons in the same direction perpendicular to the
    plane of the source, and in one direction, like a beam.

    Parameters
    ----------
    name : str, optional
        The name of the source
    peeloff : bool, optional
        Whether to peel-off photons from this source

    Notes
    -----
    Any additional arguments are are used to initialize attributes.
     __init__ N/A N/A self name peeloff N/A None False kwargs N/A N/A peeloff N/A N/A N/A ValueError Cannot peeloff plane parallel source N/A N/A self position N/A 0.0 0.0 0.0 N/A N/A self radius None N/A N/A self direction None N/A N/A N/A Source __init__ self name name peeloff peeloff kwargs N/A radius N/A N/A self N/A N/A N/A 
        The radius of the source (cm)
         N/A N/A self _radius N/A property radius N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A validate_scalar radius value domain positive N/A N/A self _radius value N/A N/A radius setter position N/A N/A self N/A N/A N/A 
        The cartesian position of the source ``(x, y, z)`` as a sequence of three floating-point values (cm)
         N/A N/A self _position N/A property position N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 1 N/A N/A N/A ValueError position should be a 1-D sequence N/A N/A N/A len value 3 N/A N/A N/A ValueError position should be a sequence of 3 values N/A N/A N/A ValueError position should be a tuple, list, or Numpy array N/A N/A self _position value N/A N/A position setter direction N/A N/A self N/A N/A N/A 
        The direction the photons should be emitted in ``(theta, phi)`` where ``theta`` and ``phi`` are spherical polar angles (rad)
         N/A N/A self _direction N/A property direction N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A type value N/A tuple list N/A N/A N/A N/A len value 2 N/A N/A N/A ValueError direction should be a sequence of 2 values N/A N/A N/A is_numpy_array value N/A N/A N/A N/A value ndim 1 N/A N/A N/A ValueError direction should be a 1-D sequence N/A N/A N/A len value 2 N/A N/A N/A ValueError direction should be a sequence of 2 values N/A N/A N/A ValueError direction should be a tuple, list, or Numpy array N/A N/A self _direction value N/A N/A direction setter _check_all_set N/A N/A self N/A N/A N/A N/A N/A Source _check_all_set self N/A N/A N/A self position None N/A N/A N/A ValueError position is not set N/A N/A N/A self radius None N/A N/A N/A ValueError radius is not set N/A N/A N/A self direction None N/A N/A N/A ValueError direction is not set N/A N/A N/A self has_lte_spectrum N/A N/A N/A ValueError Point source cannot have LTE spectrum N/A read N/A N/A cls handle N/A N/A N/A N/A N/A N/A N/A handle attrs N/A type plane_parallel N/A N/A N/A ValueError Source is not a PlaneParallelSource N/A self N/A N/A N/A super PlaneParallelSource cls read handle N/A N/A self position N/A N/A N/A handle attrs N/A x N/A N/A handle attrs N/A y N/A N/A handle attrs N/A z N/A N/A self radius N/A N/A handle attrs N/A r N/A N/A self direction N/A N/A N/A handle attrs N/A theta N/A N/A handle attrs N/A phi N/A self N/A classmethod write N/A N/A self handle name N/A N/A N/A N/A N/A self _check_all_set N/A g N/A N/A handle create_group name N/A N/A N/A g attrs N/A type N/A N/A np string_ N/A N/A plane_parallel encode utf-8 N/A N/A N/A g attrs N/A x N/A N/A self position N/A 0 N/A N/A N/A g attrs N/A y N/A N/A self position N/A 1 N/A N/A N/A g attrs N/A z N/A N/A self position N/A 2 N/A N/A N/A g attrs N/A r N/A self radius N/A N/A N/A g attrs N/A theta N/A N/A self direction N/A 0 N/A N/A N/A g attrs N/A phi N/A N/A self direction N/A 1 N/A N/A N/A Source write self g N/A N/A