pione 0.4.2 → 0.5.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.travis.yml +1 -1
- data/History.txt +6 -0
- data/example/ActionError/ActionError.action.md +11 -0
- data/example/ActionError/ActionError.pione +6 -3
- data/example/ActionError/ActionError.pnml +86 -0
- data/example/ActionError/Package.pione +2 -0
- data/example/ActionError/pione-package.json +5 -1
- data/example/CTFCorrection/CTFCorrection.action.md +46 -0
- data/example/CTFCorrection/CTFCorrection.pione +19 -41
- data/example/CTFCorrection/CTFCorrection.pnml +839 -0
- data/example/CTFCorrection/Package.pione +1 -0
- data/example/CTFCorrection/Params.pione +21 -0
- data/example/CTFCorrection/pione-package.json +20 -0
- data/example/ChildPackage/ChildPackage.pione +8 -0
- data/example/ChildPackage/pione-package.json +20 -0
- data/example/CountChar/CountChar.pione +31 -0
- data/example/CountChar/CountChar.pnml +239 -0
- data/example/CountChar/Main.pione +6 -26
- data/example/CountChar/Main.pnml +32 -100
- data/example/CountChar/Package.pione +1 -0
- data/example/CountChar/pione-package.json +3 -1
- data/example/DeferredChoice/DeferredChoice.action.md +46 -0
- data/example/DeferredChoice/DeferredChoice.pione +2 -7
- data/example/DeferredChoice/DeferredChoice.pnml +371 -0
- data/example/DeferredChoice/Package.pione +4 -0
- data/example/DeferredChoice/pione-package.json +7 -3
- data/example/DeferredChoiceWithPage/DeferredChoiceWithPage.action.md +34 -0
- data/example/DeferredChoiceWithPage/DefferredChoiceWithPage.pnml +371 -0
- data/example/DeferredChoiceWithPage/Package.pione +2 -0
- data/example/FeatureExample/FeatureExample.action.md +7 -0
- data/example/FeatureExample/FeatureExample.pione +7 -4
- data/example/FeatureExample/FeatureExample.pnml +86 -0
- data/example/FeatureExample/Package.pione +1 -0
- data/example/FeatureExample/pione-package.json +4 -0
- data/example/Fib/Fib.action.md +33 -0
- data/example/Fib/Fib.pnml +208 -0
- data/example/Fib/FibN.pnml +807 -0
- data/example/Fib/Package.pione +6 -0
- data/example/HelloWorld/HelloWorld.action.md +7 -0
- data/example/HelloWorld/HelloWorld.pione +6 -2
- data/example/HelloWorld/HelloWorld.pnml +86 -0
- data/example/HelloWorld/Package.pione +2 -0
- data/example/HelloWorld/pione-package.json +5 -1
- data/example/Interaction/Interaction.action.md +21 -0
- data/example/Interaction/Interaction.pnml +89 -0
- data/example/Interaction/Package.pione +2 -0
- data/example/LoopByTouch/LoopByTouch.pione +32 -12
- data/example/LoopByTouch/LoopByTouch.pnml +575 -0
- data/example/LoopByTouch/Package.pione +3 -0
- data/example/LoopByTouch/PairLoop.pione +6 -7
- data/example/LoopByTouch/PairLoop.pnml +188 -0
- data/example/LoopByTouch/SingleLoop.pione +6 -0
- data/example/LoopByTouch/SingleLoop.pnml +86 -0
- data/example/LoopByTouch/TripletLoop.pione +12 -13
- data/example/LoopByTouch/TripletLoop.pnml +239 -0
- data/example/LoopByTouch/pione-package.json +7 -3
- data/example/LucasNumber/LucasNumber.action.md +25 -0
- data/example/LucasNumber/LucasNumber.pnml +244 -0
- data/example/LucasNumber/LucasNumberN.pnml +1719 -0
- data/example/LucasNumber/Package.pione +2 -0
- data/example/MakePair/MakePair.pione +8 -10
- data/example/MakePair/MakePair.pnml +1141 -0
- data/example/MakePair/Package.pione +2 -0
- data/example/MakePair/pione-package.json +7 -3
- data/example/MakePair/scenario/case1/pione-scenario.json +30 -30
- data/example/MakePair/scenario/case2/pione-scenario.json +10 -10
- data/example/MakePair/scenario/case3/pione-scenario.json +28 -28
- data/example/OddSelector/OddSelector.pione +8 -8
- data/example/OddSelector/OddSelector.pnml +401 -0
- data/example/OddSelector/Package.pione +2 -0
- data/example/OddSelector/pione-package.json +4 -0
- data/example/OddSelector/scenario/pione-scenario.json +8 -8
- data/example/ParentPackage/ParentPackage.pione +13 -0
- data/example/ParentPackage/pione-package.json +18 -0
- data/example/PegasusWMS/Merge/Package.pione +2 -0
- data/example/PegasusWMS/Merge/PegasusWMSMerge.action.md +17 -0
- data/example/PegasusWMS/Merge/{Merge.pione → PegasusWMSMerge.pione} +9 -10
- data/example/PegasusWMS/Merge/PegasusWMSMerge.pnml +217 -0
- data/example/PegasusWMS/Merge/pione-package.json +6 -2
- data/example/PegasusWMS/Pipeline/Package.pione +2 -0
- data/example/PegasusWMS/Pipeline/PegasusWMSPipeline.action.md +17 -0
- data/example/PegasusWMS/Pipeline/{Pipeline.pione → PegasusWMSPipeline.pione} +7 -9
- data/example/PegasusWMS/Pipeline/PegasusWMSPipeline.pnml +137 -0
- data/example/PegasusWMS/Pipeline/pione-package.json +6 -2
- data/example/PegasusWMS/Split/Package.pione +2 -0
- data/example/PegasusWMS/Split/PegasusWMSSplit.action.md +19 -0
- data/example/PegasusWMS/Split/{Split.pione → PegasusWMSSplit.pione} +9 -10
- data/example/PegasusWMS/Split/PegasusWMSSplit.pnml +293 -0
- data/example/PegasusWMS/Split/pione-package.json +6 -2
- data/example/ScoreAggregation/Package.pione +2 -0
- data/example/ScoreAggregation/ScoreAggregation.action.md +56 -0
- data/example/ScoreAggregation/ScoreAggregation.pione +37 -76
- data/example/ScoreAggregation/ScoreAggregation.pnml +1221 -0
- data/example/ScoreAggregation/pione-package.json +6 -2
- data/example/ScoreAggregation/scenario/case1/pione-scenario.json +21 -21
- data/example/SelectRuleByParam/Package.pione +2 -0
- data/example/SelectRuleByParam/SelectRuleByParam.action.md +19 -0
- data/example/SelectRuleByParam/SelectRuleByParam.pnml +388 -0
- data/example/SequentialParameter/Package.pione +2 -0
- data/example/SequentialParameter/SequentialParameter.pione +9 -3
- data/example/SequentialParameter/SequentialParameter.pnml +140 -0
- data/example/SequentialParameter/pione-package.json +19 -0
- data/example/SerialProcessing/A.pione +25 -0
- data/example/SerialProcessing/A.pnml +395 -0
- data/example/SerialProcessing/B.pione +25 -0
- data/example/SerialProcessing/B.pnml +395 -0
- data/example/SerialProcessing/Package.pione +2 -0
- data/example/SerialProcessing/SerialProcessing.pione +9 -60
- data/example/SerialProcessing/SerialProcessing.pnml +160 -0
- data/example/SerialProcessing/pione-package.json +7 -1
- data/example/SieveOfEratosthenes/CreateUndeterminedNumbers.pnml +157 -0
- data/example/SieveOfEratosthenes/Package.pione +4 -0
- data/example/SieveOfEratosthenes/Sieve.pnml +1493 -0
- data/example/SieveOfEratosthenes/SieveOfEratosthenes.pnml +174 -0
- data/example/SingleParticlesWithRef/Create3dinfo.pnml +342 -0
- data/example/SingleParticlesWithRef/Package.pione +42 -0
- data/example/SingleParticlesWithRef/SingleParticlesWithRef.action.md +34 -0
- data/example/SingleParticlesWithRef/SingleParticlesWithRef.pnml +404 -0
- data/example/SingleParticlesWithRef/{Makefile → misc/Makefile} +0 -0
- data/example/SingleParticlesWithRef/{SingleParticlesWithRef.Display2.pione → misc/SingleParticlesWithRef.Display2.pione} +0 -0
- data/example/SingleParticlesWithRef/{SingleParticlesWithRef.Makefile → misc/SingleParticlesWithRef.Makefile} +0 -0
- data/example/SingleParticlesWithRef/{SingleParticlesWithRefFull.pione → misc/SingleParticlesWithRefFull.pione} +0 -0
- data/example/Sum/CalcEachLine.pione +30 -0
- data/example/Sum/CalcEachLine.pnml +327 -0
- data/example/Sum/Package.pione +2 -0
- data/example/Sum/Sum.action.md +35 -0
- data/example/Sum/Sum.pione +9 -35
- data/example/Sum/Sum.pnml +191 -0
- data/example/Sum/pione-package.json +5 -0
- data/example/Touch/Package.pione +2 -0
- data/example/Touch/Touch.pione +8 -2
- data/example/Touch/Touch.pnml +89 -0
- data/example/Touch/pione-package.json +4 -0
- data/example/WorkflowPatterns/01_Sequence/Package.pione +2 -0
- data/example/WorkflowPatterns/01_Sequence/Sequence.pione +9 -9
- data/example/WorkflowPatterns/01_Sequence/Sequence.pnml +191 -0
- data/example/WorkflowPatterns/01_Sequence/pione-package.json +19 -0
- data/example/WorkflowPatterns/02_PrallelSplit/Package.pione +2 -0
- data/example/WorkflowPatterns/02_PrallelSplit/ParallelSplit.pione +12 -12
- data/example/WorkflowPatterns/02_PrallelSplit/ParallelSplit.pnml +265 -0
- data/example/WorkflowPatterns/02_PrallelSplit/pione-package.json +19 -0
- data/example/WorkflowPatterns/03_Synchronization/Package.pione +2 -0
- data/example/WorkflowPatterns/03_Synchronization/Synchronization.pione +12 -13
- data/example/WorkflowPatterns/03_Synchronization/Synchronization.pnml +273 -0
- data/example/WorkflowPatterns/03_Synchronization/pione-package.json +19 -0
- data/example/WorkflowPatterns/04_ExclusiveChoice/ExclusiveChoice.pione +15 -22
- data/example/WorkflowPatterns/04_ExclusiveChoice/ExclusiveChoice.pnml +533 -0
- data/example/WorkflowPatterns/04_ExclusiveChoice/Package.pione +4 -0
- data/example/WorkflowPatterns/04_ExclusiveChoice/pione-package.json +19 -0
- data/example/WorkflowPatterns/05_SimpleMerge/Package.pione +4 -0
- data/example/WorkflowPatterns/05_SimpleMerge/SimpleMerge.pione +10 -18
- data/example/WorkflowPatterns/05_SimpleMerge/SimpleMerge.pnml +431 -0
- data/example/WorkflowPatterns/05_SimpleMerge/pione-package.json +19 -0
- data/example/WorkflowPatterns/06_MultiChoice/MultiChoice.pione +20 -28
- data/example/WorkflowPatterns/06_MultiChoice/MultiChoice.pnml +797 -0
- data/example/WorkflowPatterns/06_MultiChoice/Package.pione +5 -0
- data/example/WorkflowPatterns/06_MultiChoice/pione-package.json +19 -0
- data/example/WorkflowPatterns/07_StructuredSynchronizingMerge/Package.pione +5 -0
- data/example/WorkflowPatterns/07_StructuredSynchronizingMerge/StructuredSynchronizingMerge.pnml +668 -0
- data/example/WorkflowPatterns/08_MultiMerge/MultiMerge.pione +9 -20
- data/example/WorkflowPatterns/08_MultiMerge/MultiMerge.pnml +551 -0
- data/example/WorkflowPatterns/08_MultiMerge/Package.pione +4 -0
- data/example/WorkflowPatterns/08_MultiMerge/pione-package.json +19 -0
- data/example/WorkflowPatterns/11_ImplicitTermination/ImplicitTermination.pione +9 -17
- data/example/WorkflowPatterns/11_ImplicitTermination/ImplicitTermination.pnml +188 -0
- data/example/WorkflowPatterns/11_ImplicitTermination/Package.pione +2 -0
- data/example/WorkflowPatterns/11_ImplicitTermination/pione-package.json +19 -0
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/MultipleInstancesWithoutSynchronization.pione +11 -11
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/MultipleInstancesWithoutSynchronization.pnml +319 -0
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/Package.pione +4 -0
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/pione-package.json +19 -0
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/MultipleInstancesWithDesignTimeKnowledge.pione +11 -11
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/MultipleInstancesWithDesignTimeKnowledge.pnml +319 -0
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/Package.pione +2 -0
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/pione-package.json +19 -0
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pione +14 -17
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pnml +355 -0
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/Package.pione +4 -0
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/pione-package.json +19 -0
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pione +9 -10
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pnml +409 -0
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/Package.pione +2 -0
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/pione-package.json +19 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/A.pione +34 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/A.pnml +570 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pione +36 -70
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pnml +854 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/Package.pione +5 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/pione-package.json +20 -0
- data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/GeneralSynchronizingMerge.pnml +1003 -0
- data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/Package.pione +6 -0
- data/example/WorkflowPatterns/41_ThreadMerge/A.pnml +429 -0
- data/example/WorkflowPatterns/41_ThreadMerge/A1.pnml +141 -0
- data/example/WorkflowPatterns/41_ThreadMerge/Package.pione +2 -0
- data/example/WorkflowPatterns/41_ThreadMerge/ThreadMerge.pnml +205 -0
- data/example/WorkflowPatterns/42_ThreadSplit/Package.pione +2 -0
- data/example/WorkflowPatterns/42_ThreadSplit/ThreadSplit.pnml +217 -0
- data/lib/pione/agent/job-manager.rb +4 -3
- data/lib/pione/agent/task-worker.rb +2 -7
- data/lib/pione/command.rb +1 -0
- data/lib/pione/command/basic-command.rb +3 -1
- data/lib/pione/command/command-exception.rb +14 -0
- data/lib/pione/command/pione-action-exec.rb +4 -1
- data/lib/pione/command/pione-clean.rb +13 -6
- data/lib/pione/command/pione-client.rb +5 -5
- data/lib/pione/command/pione-compile.rb +1 -1
- data/lib/pione/command/pione-log-format.rb +1 -1
- data/lib/pione/command/pione-package-add.rb +1 -1
- data/lib/pione/command/pione-package-build.rb +87 -32
- data/lib/pione/command/pione-package-remove.rb +117 -0
- data/lib/pione/command/pione-package.rb +1 -0
- data/lib/pione/command/spawner.rb +12 -3
- data/lib/pione/lang/boolean.rb +1 -1
- data/lib/pione/lang/common-parser.rb +5 -3
- data/lib/pione/lang/context-parser.rb +8 -2
- data/lib/pione/lang/context-transformer.rb +13 -3
- data/lib/pione/lang/context.rb +20 -2
- data/lib/pione/lang/data-expr.rb +1 -1
- data/lib/pione/lang/declaration-parser.rb +18 -4
- data/lib/pione/lang/declaration-transformer.rb +1 -1
- data/lib/pione/lang/declaration.rb +5 -3
- data/lib/pione/lang/definition.rb +1 -0
- data/lib/pione/lang/environment.rb +37 -2
- data/lib/pione/lang/expr.rb +10 -12
- data/lib/pione/lang/feature-expr.rb +1 -1
- data/lib/pione/lang/float.rb +1 -1
- data/lib/pione/lang/integer.rb +1 -1
- data/lib/pione/lang/keyed-sequence.rb +5 -5
- data/lib/pione/lang/lang-exception.rb +9 -5
- data/lib/pione/lang/literal-parser.rb +2 -2
- data/lib/pione/lang/literal-transformer.rb +3 -0
- data/lib/pione/lang/message.rb +3 -3
- data/lib/pione/lang/ordinal-sequence.rb +1 -1
- data/lib/pione/lang/package-expr.rb +1 -1
- data/lib/pione/lang/parameters.rb +1 -1
- data/lib/pione/lang/pione-method.rb +16 -16
- data/lib/pione/lang/rule-expr.rb +6 -1
- data/lib/pione/lang/sequence.rb +8 -3
- data/lib/pione/lang/string.rb +1 -1
- data/lib/pione/lang/ticket-expr.rb +1 -1
- data/lib/pione/lang/type.rb +17 -8
- data/lib/pione/lang/variable.rb +4 -1
- data/lib/pione/literate-action.rb +1 -2
- data/lib/pione/literate-action/document.rb +1 -1
- data/lib/pione/literate-action/handler.rb +22 -7
- data/lib/pione/literate-action/{parser.rb → markdown-parser.rb} +2 -1
- data/lib/pione/log/domain-log.rb +1 -1
- data/lib/pione/model/task-worker-broker-model.rb +1 -1
- data/lib/pione/package/package-database.rb +16 -2
- data/lib/pione/package/package-exception.rb +1 -1
- data/lib/pione/package/package-handler.rb +11 -7
- data/lib/pione/package/package-info.rb +13 -7
- data/lib/pione/package/package-scanner.rb +1 -1
- data/lib/pione/package/scenario-info.rb +2 -2
- data/lib/pione/pnml.rb +6 -0
- data/lib/pione/pnml/compiler.rb +329 -95
- data/lib/pione/pnml/declaration-extractor.rb +90 -0
- data/lib/pione/pnml/input-merge-complement.rb +17 -11
- data/lib/pione/pnml/input-parallelization-complement.rb +10 -6
- data/lib/pione/pnml/input-reduction.rb +5 -5
- data/lib/pione/pnml/invalid-arc-elimination.rb +2 -2
- data/lib/pione/pnml/io-expansion.rb +9 -5
- data/lib/pione/pnml/isolated-element-elimination.rb +2 -2
- data/lib/pione/pnml/label-extractor.rb +258 -0
- data/lib/pione/pnml/net-rewriter.rb +6 -4
- data/lib/pione/pnml/output-decomposition-complement.rb +12 -7
- data/lib/pione/pnml/output-reduction.rb +11 -5
- data/lib/pione/pnml/output-synchronization-complement.rb +11 -7
- data/lib/pione/pnml/parser.rb +106 -0
- data/lib/pione/pnml/pione-model.rb +685 -230
- data/lib/pione/pnml/pnml-model.rb +73 -41
- data/lib/pione/pnml/ticket-instantiation.rb +42 -0
- data/lib/pione/rule-engine/action-handler.rb +212 -135
- data/lib/pione/rule-engine/basic-handler.rb +29 -3
- data/lib/pione/rule-engine/engine-exception.rb +10 -6
- data/lib/pione/system/status.rb +12 -6
- data/lib/pione/version.rb +1 -1
- data/lib/rootage/help.md.erb +45 -0
- data/lib/rootage/help.rb +1 -0
- data/lib/rootage/scenario.rb +20 -2
- data/misc/pione-completion.bash +15 -5
- data/misc/pione-completion.zsh +16 -6
- data/test/command/spec_pione-client.rb +60 -60
- data/test/lang/data/context-parser.yml +12 -1
- data/test/lang/spec_pione-method.rb +7 -6
- data/test/literate-action/spec_handler.rb +19 -13
- data/test/literate-action/{spec_parser.rb → spec_markdown-parser.rb} +3 -3
- data/test/log/spec_message-log-receiver.rb +1 -1
- data/test/package/spec_package-info.rb +1 -1
- data/test/pnml/spec_input-merge-complement.rb +4 -2
- data/test/pnml/spec_input-parallelization-complement.rb +4 -2
- data/test/pnml/spec_input-reduction.rb +8 -4
- data/test/pnml/spec_invalid-arc-elimination.rb +2 -1
- data/test/pnml/spec_io-expansion.rb +4 -2
- data/test/pnml/spec_isolated-element-elimination.rb +2 -1
- data/test/pnml/spec_label-extractor.rb +100 -0
- data/test/pnml/spec_output-decomposition-complement.rb +4 -2
- data/test/pnml/spec_output-reduction.rb +8 -4
- data/test/pnml/spec_output-synchronization-complement.rb +4 -2
- data/test/pnml/spec_pione-element.rb +116 -37
- data/test/pnml/spec_pnml-element.rb +32 -8
- data/test/rule-engine/spec_action-handler.rb +12 -20
- metadata +159 -16
- data/example/CTFCorrection/package.yml +0 -1
- data/example/DeferredChoice/bin/ui.xml +0 -28
@@ -0,0 +1,42 @@
|
|
1
|
+
#
|
2
|
+
# Eos for 3D reconstrucion from 2D rois using 3D initail reference
|
3
|
+
#
|
4
|
+
|
5
|
+
#
|
6
|
+
# Variables
|
7
|
+
#
|
8
|
+
|
9
|
+
# Target structure name
|
10
|
+
$TARGET := "all"
|
11
|
+
|
12
|
+
#
|
13
|
+
# Search Area for 3D
|
14
|
+
#
|
15
|
+
|
16
|
+
# Rot1
|
17
|
+
$ROT1MIN := 0
|
18
|
+
$ROT1MAX := 359
|
19
|
+
$ROT1D := 30
|
20
|
+
$nRot1 := 12
|
21
|
+
|
22
|
+
# Rot2
|
23
|
+
$ROT2MIN := 0
|
24
|
+
$ROT2MAX := 359
|
25
|
+
$ROT2D := 30
|
26
|
+
$nRot2 := 12
|
27
|
+
|
28
|
+
# Rot3
|
29
|
+
$ROT3MIN := 0
|
30
|
+
$ROT3MAX := 0
|
31
|
+
$ROT3D := 30
|
32
|
+
$nRot3 := 1
|
33
|
+
|
34
|
+
# For 2D
|
35
|
+
$STEP := 12
|
36
|
+
$ROTMIN := 0
|
37
|
+
$ROTMAX := 359
|
38
|
+
$nROT := 360 / $STEP
|
39
|
+
|
40
|
+
# Pad size for 2D
|
41
|
+
$PAD_W := 64
|
42
|
+
$PAD_H := 64
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Actions for SingleParticlesWithRef package
|
2
|
+
|
3
|
+
## ConvertRoiToPad
|
4
|
+
|
5
|
+
```
|
6
|
+
mrcImageWindowing -i {$*}.roi -o {$*}.mask -W 0.1 0.0 0.05 0.0 -m 18
|
7
|
+
mrcImagePad -i {$*}.mask -o {$*}.padtmp -W {$PAD_W} -H {$PAD_H} -m 3
|
8
|
+
mrcImageWindowing -i {$*}.padtmp -o {$*}.pad -W 0.1 0.0 0.1 0.0 -m 2
|
9
|
+
```
|
10
|
+
|
11
|
+
## ConvertPadToCorinfo
|
12
|
+
|
13
|
+
```
|
14
|
+
mrcImageAutoRotationCorrelation -i {$*}.pad -r {$TARGET}.ref2d -O {$*}.corinfo -fit {$*}.fit -cor {$*}.cormap -n {$nROT} -m 18 -range {$ROTMIN} {$ROTMAX} -Iter 2 -nRot2 {$nRot2} -nRot1 {$nRot1} -nRot3 {$nRot3} 2> /dev/null
|
15
|
+
```
|
16
|
+
|
17
|
+
## ConvertCorinfoTo3dinfo
|
18
|
+
|
19
|
+
```
|
20
|
+
awk '/Cor/ { print $7,$16,$2,$3,$4,$5,$9,$11,$12}' {$*}.corinfo | sort -r | sed -e s/.pad/.fit/ > {$*}.3dinfolst
|
21
|
+
head -n 1 {$*}.3dinfolst | awk '{print $2,$3,$4,$5,$6,$1}' > {$*}.3dinfo
|
22
|
+
```
|
23
|
+
|
24
|
+
## Create3dlst
|
25
|
+
|
26
|
+
```
|
27
|
+
cat {$I[1].as_string.join(" ")} | sort > {$TARGET}.3dlst
|
28
|
+
```
|
29
|
+
|
30
|
+
## Create3d
|
31
|
+
|
32
|
+
```
|
33
|
+
mrc2Dto3D -I {$TARGET}.3dlst -o {$TARGET}.3d -InterpolationMode 2 -Double -DoubleCounter {$TARGET}.3dcounter -CounterThreshold 0.5 -m 1 -WeightMode 2
|
34
|
+
```
|
@@ -0,0 +1,404 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--PLEASE DO NOT EDIT THIS FILE
|
3
|
+
Created with Workflow PetriNet Designer Version 3.2.0 (woped.org)-->
|
4
|
+
<pnml>
|
5
|
+
<net type="http://www.informatik.hu-berlin.de/top/pntd/ptNetb" id="noID">
|
6
|
+
<place id="p7">
|
7
|
+
<name>
|
8
|
+
<text>'{$*}.3dinfo'</text>
|
9
|
+
<graphics>
|
10
|
+
<offset x="550" y="300"/>
|
11
|
+
</graphics>
|
12
|
+
</name>
|
13
|
+
<graphics>
|
14
|
+
<position x="550" y="260"/>
|
15
|
+
<dimension x="40" y="40"/>
|
16
|
+
</graphics>
|
17
|
+
</place>
|
18
|
+
<place id="p6">
|
19
|
+
<name>
|
20
|
+
<text>'{$*}.fit'</text>
|
21
|
+
<graphics>
|
22
|
+
<offset x="550" y="220"/>
|
23
|
+
</graphics>
|
24
|
+
</name>
|
25
|
+
<graphics>
|
26
|
+
<position x="550" y="180"/>
|
27
|
+
<dimension x="40" y="40"/>
|
28
|
+
</graphics>
|
29
|
+
</place>
|
30
|
+
<place id="p4">
|
31
|
+
<name>
|
32
|
+
<text>'*.roi'</text>
|
33
|
+
<graphics>
|
34
|
+
<offset x="390" y="220"/>
|
35
|
+
</graphics>
|
36
|
+
</name>
|
37
|
+
<graphics>
|
38
|
+
<position x="390" y="180"/>
|
39
|
+
<dimension x="40" y="40"/>
|
40
|
+
</graphics>
|
41
|
+
</place>
|
42
|
+
<place id="p3">
|
43
|
+
<name>
|
44
|
+
<text><'{$TARGET}.ref2d'</text>
|
45
|
+
<graphics>
|
46
|
+
<offset x="390" y="300"/>
|
47
|
+
</graphics>
|
48
|
+
</name>
|
49
|
+
<graphics>
|
50
|
+
<position x="390" y="260"/>
|
51
|
+
<dimension x="40" y="40"/>
|
52
|
+
</graphics>
|
53
|
+
<initialMarking>
|
54
|
+
<text>1</text>
|
55
|
+
</initialMarking>
|
56
|
+
</place>
|
57
|
+
<place id="p1">
|
58
|
+
<name>
|
59
|
+
<text><'*.roi'.all</text>
|
60
|
+
<graphics>
|
61
|
+
<offset x="230" y="220"/>
|
62
|
+
</graphics>
|
63
|
+
</name>
|
64
|
+
<graphics>
|
65
|
+
<position x="230" y="180"/>
|
66
|
+
<dimension x="40" y="40"/>
|
67
|
+
</graphics>
|
68
|
+
<initialMarking>
|
69
|
+
<text>1</text>
|
70
|
+
</initialMarking>
|
71
|
+
</place>
|
72
|
+
<place id="p10">
|
73
|
+
<name>
|
74
|
+
<text>'{$TARGET}.3dlst'</text>
|
75
|
+
<graphics>
|
76
|
+
<offset x="870" y="300"/>
|
77
|
+
</graphics>
|
78
|
+
</name>
|
79
|
+
<graphics>
|
80
|
+
<position x="870" y="260"/>
|
81
|
+
<dimension x="40" y="40"/>
|
82
|
+
</graphics>
|
83
|
+
</place>
|
84
|
+
<place id="p9">
|
85
|
+
<name>
|
86
|
+
<text>'*.fit'.all</text>
|
87
|
+
<graphics>
|
88
|
+
<offset x="870" y="220"/>
|
89
|
+
</graphics>
|
90
|
+
</name>
|
91
|
+
<graphics>
|
92
|
+
<position x="870" y="180"/>
|
93
|
+
<dimension x="40" y="40"/>
|
94
|
+
</graphics>
|
95
|
+
</place>
|
96
|
+
<place id="p8">
|
97
|
+
<name>
|
98
|
+
<text>'*.3dinfo'.all</text>
|
99
|
+
<graphics>
|
100
|
+
<offset x="710" y="300"/>
|
101
|
+
</graphics>
|
102
|
+
</name>
|
103
|
+
<graphics>
|
104
|
+
<position x="710" y="260"/>
|
105
|
+
<dimension x="40" y="40"/>
|
106
|
+
</graphics>
|
107
|
+
</place>
|
108
|
+
<place id="p11">
|
109
|
+
<name>
|
110
|
+
<text>>'{$TARGET}.3d'</text>
|
111
|
+
<graphics>
|
112
|
+
<offset x="1030" y="260"/>
|
113
|
+
</graphics>
|
114
|
+
</name>
|
115
|
+
<graphics>
|
116
|
+
<position x="1030" y="220"/>
|
117
|
+
<dimension x="40" y="40"/>
|
118
|
+
</graphics>
|
119
|
+
</place>
|
120
|
+
<transition id="t3">
|
121
|
+
<name>
|
122
|
+
<text/>
|
123
|
+
<graphics>
|
124
|
+
<offset x="630" y="300"/>
|
125
|
+
</graphics>
|
126
|
+
</name>
|
127
|
+
<graphics>
|
128
|
+
<position x="630" y="260"/>
|
129
|
+
<dimension x="40" y="40"/>
|
130
|
+
</graphics>
|
131
|
+
<toolspecific tool="WoPeD" version="1.0">
|
132
|
+
<time>0</time>
|
133
|
+
<timeUnit>1</timeUnit>
|
134
|
+
<orientation>1</orientation>
|
135
|
+
</toolspecific>
|
136
|
+
</transition>
|
137
|
+
<transition id="t2">
|
138
|
+
<name>
|
139
|
+
<text/>
|
140
|
+
<graphics>
|
141
|
+
<offset x="310" y="220"/>
|
142
|
+
</graphics>
|
143
|
+
</name>
|
144
|
+
<graphics>
|
145
|
+
<position x="310" y="180"/>
|
146
|
+
<dimension x="40" y="40"/>
|
147
|
+
</graphics>
|
148
|
+
<toolspecific tool="WoPeD" version="1.0">
|
149
|
+
<time>0</time>
|
150
|
+
<timeUnit>1</timeUnit>
|
151
|
+
<orientation>1</orientation>
|
152
|
+
</toolspecific>
|
153
|
+
</transition>
|
154
|
+
<transition id="t1">
|
155
|
+
<name>
|
156
|
+
<text>extern Create3dinfo</text>
|
157
|
+
<graphics>
|
158
|
+
<offset x="450" y="270"/>
|
159
|
+
</graphics>
|
160
|
+
</name>
|
161
|
+
<graphics>
|
162
|
+
<position x="470" y="220"/>
|
163
|
+
<dimension x="40" y="40"/>
|
164
|
+
</graphics>
|
165
|
+
<toolspecific tool="WoPeD" version="1.0">
|
166
|
+
<time>0</time>
|
167
|
+
<timeUnit>1</timeUnit>
|
168
|
+
<orientation>1</orientation>
|
169
|
+
</toolspecific>
|
170
|
+
</transition>
|
171
|
+
<transition id="t4">
|
172
|
+
<name>
|
173
|
+
<text>Create3dlst</text>
|
174
|
+
<graphics>
|
175
|
+
<offset x="790" y="300"/>
|
176
|
+
</graphics>
|
177
|
+
</name>
|
178
|
+
<graphics>
|
179
|
+
<position x="790" y="260"/>
|
180
|
+
<dimension x="40" y="40"/>
|
181
|
+
</graphics>
|
182
|
+
<toolspecific tool="WoPeD" version="1.0">
|
183
|
+
<time>0</time>
|
184
|
+
<timeUnit>1</timeUnit>
|
185
|
+
<orientation>1</orientation>
|
186
|
+
</toolspecific>
|
187
|
+
</transition>
|
188
|
+
<transition id="t5">
|
189
|
+
<name>
|
190
|
+
<text/>
|
191
|
+
<graphics>
|
192
|
+
<offset x="630" y="220"/>
|
193
|
+
</graphics>
|
194
|
+
</name>
|
195
|
+
<graphics>
|
196
|
+
<position x="630" y="180"/>
|
197
|
+
<dimension x="40" y="40"/>
|
198
|
+
</graphics>
|
199
|
+
<toolspecific tool="WoPeD" version="1.0">
|
200
|
+
<time>0</time>
|
201
|
+
<timeUnit>1</timeUnit>
|
202
|
+
<orientation>1</orientation>
|
203
|
+
</toolspecific>
|
204
|
+
</transition>
|
205
|
+
<transition id="t6">
|
206
|
+
<name>
|
207
|
+
<text>Create3d</text>
|
208
|
+
<graphics>
|
209
|
+
<offset x="950" y="260"/>
|
210
|
+
</graphics>
|
211
|
+
</name>
|
212
|
+
<graphics>
|
213
|
+
<position x="950" y="220"/>
|
214
|
+
<dimension x="40" y="40"/>
|
215
|
+
</graphics>
|
216
|
+
<toolspecific tool="WoPeD" version="1.0">
|
217
|
+
<time>0</time>
|
218
|
+
<timeUnit>1</timeUnit>
|
219
|
+
<orientation>1</orientation>
|
220
|
+
</toolspecific>
|
221
|
+
</transition>
|
222
|
+
<arc id="a16" source="t4" target="p10">
|
223
|
+
<inscription>
|
224
|
+
<text>1</text>
|
225
|
+
</inscription>
|
226
|
+
<graphics/>
|
227
|
+
<toolspecific tool="WoPeD" version="1.0">
|
228
|
+
<probability>1.0</probability>
|
229
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
230
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
231
|
+
</toolspecific>
|
232
|
+
</arc>
|
233
|
+
<arc id="a9" source="t1" target="p7">
|
234
|
+
<inscription>
|
235
|
+
<text>1</text>
|
236
|
+
</inscription>
|
237
|
+
<graphics/>
|
238
|
+
<toolspecific tool="WoPeD" version="1.0">
|
239
|
+
<probability>1.0</probability>
|
240
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
241
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
242
|
+
</toolspecific>
|
243
|
+
</arc>
|
244
|
+
<arc id="a17" source="p10" target="t6">
|
245
|
+
<inscription>
|
246
|
+
<text>1</text>
|
247
|
+
</inscription>
|
248
|
+
<graphics/>
|
249
|
+
<toolspecific tool="WoPeD" version="1.0">
|
250
|
+
<probability>1.0</probability>
|
251
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
252
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
253
|
+
</toolspecific>
|
254
|
+
</arc>
|
255
|
+
<arc id="a14" source="t5" target="p9">
|
256
|
+
<inscription>
|
257
|
+
<text>1</text>
|
258
|
+
</inscription>
|
259
|
+
<graphics/>
|
260
|
+
<toolspecific tool="WoPeD" version="1.0">
|
261
|
+
<probability>1.0</probability>
|
262
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
263
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
264
|
+
</toolspecific>
|
265
|
+
</arc>
|
266
|
+
<arc id="a12" source="p8" target="t4">
|
267
|
+
<inscription>
|
268
|
+
<text>1</text>
|
269
|
+
</inscription>
|
270
|
+
<graphics/>
|
271
|
+
<toolspecific tool="WoPeD" version="1.0">
|
272
|
+
<probability>1.0</probability>
|
273
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
274
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
275
|
+
</toolspecific>
|
276
|
+
</arc>
|
277
|
+
<arc id="a13" source="p6" target="t5">
|
278
|
+
<inscription>
|
279
|
+
<text>1</text>
|
280
|
+
</inscription>
|
281
|
+
<graphics/>
|
282
|
+
<toolspecific tool="WoPeD" version="1.0">
|
283
|
+
<probability>1.0</probability>
|
284
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
285
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
286
|
+
</toolspecific>
|
287
|
+
</arc>
|
288
|
+
<arc id="a10" source="p7" target="t3">
|
289
|
+
<inscription>
|
290
|
+
<text>1</text>
|
291
|
+
</inscription>
|
292
|
+
<graphics/>
|
293
|
+
<toolspecific tool="WoPeD" version="1.0">
|
294
|
+
<probability>1.0</probability>
|
295
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
296
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
297
|
+
</toolspecific>
|
298
|
+
</arc>
|
299
|
+
<arc id="a11" source="t3" target="p8">
|
300
|
+
<inscription>
|
301
|
+
<text>1</text>
|
302
|
+
</inscription>
|
303
|
+
<graphics/>
|
304
|
+
<toolspecific tool="WoPeD" version="1.0">
|
305
|
+
<probability>1.0</probability>
|
306
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
307
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
308
|
+
</toolspecific>
|
309
|
+
</arc>
|
310
|
+
<arc id="a3" source="p3" target="t1">
|
311
|
+
<inscription>
|
312
|
+
<text>1</text>
|
313
|
+
</inscription>
|
314
|
+
<graphics/>
|
315
|
+
<toolspecific tool="WoPeD" version="1.0">
|
316
|
+
<probability>1.0</probability>
|
317
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
318
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
319
|
+
</toolspecific>
|
320
|
+
</arc>
|
321
|
+
<arc id="a4" source="p1" target="t2">
|
322
|
+
<inscription>
|
323
|
+
<text>1</text>
|
324
|
+
</inscription>
|
325
|
+
<graphics/>
|
326
|
+
<toolspecific tool="WoPeD" version="1.0">
|
327
|
+
<probability>1.0</probability>
|
328
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
329
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
330
|
+
</toolspecific>
|
331
|
+
</arc>
|
332
|
+
<arc id="a5" source="t2" target="p4">
|
333
|
+
<inscription>
|
334
|
+
<text>1</text>
|
335
|
+
</inscription>
|
336
|
+
<graphics/>
|
337
|
+
<toolspecific tool="WoPeD" version="1.0">
|
338
|
+
<probability>1.0</probability>
|
339
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
340
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
341
|
+
</toolspecific>
|
342
|
+
</arc>
|
343
|
+
<arc id="a6" source="p4" target="t1">
|
344
|
+
<inscription>
|
345
|
+
<text>1</text>
|
346
|
+
</inscription>
|
347
|
+
<graphics/>
|
348
|
+
<toolspecific tool="WoPeD" version="1.0">
|
349
|
+
<probability>1.0</probability>
|
350
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
351
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
352
|
+
</toolspecific>
|
353
|
+
</arc>
|
354
|
+
<arc id="a18" source="p9" target="t6">
|
355
|
+
<inscription>
|
356
|
+
<text>1</text>
|
357
|
+
</inscription>
|
358
|
+
<graphics/>
|
359
|
+
<toolspecific tool="WoPeD" version="1.0">
|
360
|
+
<probability>1.0</probability>
|
361
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
362
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
363
|
+
</toolspecific>
|
364
|
+
</arc>
|
365
|
+
<arc id="a19" source="t6" target="p11">
|
366
|
+
<inscription>
|
367
|
+
<text>1</text>
|
368
|
+
</inscription>
|
369
|
+
<graphics/>
|
370
|
+
<toolspecific tool="WoPeD" version="1.0">
|
371
|
+
<probability>1.0</probability>
|
372
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
373
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
374
|
+
</toolspecific>
|
375
|
+
</arc>
|
376
|
+
<arc id="a8" source="t1" target="p6">
|
377
|
+
<inscription>
|
378
|
+
<text>1</text>
|
379
|
+
</inscription>
|
380
|
+
<graphics/>
|
381
|
+
<toolspecific tool="WoPeD" version="1.0">
|
382
|
+
<probability>1.0</probability>
|
383
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
384
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
385
|
+
</toolspecific>
|
386
|
+
</arc>
|
387
|
+
<toolspecific tool="WoPeD" version="1.0">
|
388
|
+
<bounds>
|
389
|
+
<position x="2" y="22"/>
|
390
|
+
<dimension x="1905" y="784"/>
|
391
|
+
</bounds>
|
392
|
+
<scale>100</scale>
|
393
|
+
<treeWidthRight>1551</treeWidthRight>
|
394
|
+
<overviewPanelVisible>true</overviewPanelVisible>
|
395
|
+
<treeHeightOverview>100</treeHeightOverview>
|
396
|
+
<treePanelVisible>true</treePanelVisible>
|
397
|
+
<verticalLayout>false</verticalLayout>
|
398
|
+
<resources/>
|
399
|
+
<simulations/>
|
400
|
+
<partnerLinks/>
|
401
|
+
<variables/>
|
402
|
+
</toolspecific>
|
403
|
+
</net>
|
404
|
+
</pnml>
|