Skip to content

Commit

Permalink
Featuring Stern Gerlachs, see #63
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Dec 13, 2024
1 parent 950b49e commit c9cfe1e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions js/spin/model/SternGerlach.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,25 @@ export default class SternGerlach extends PhetioObject {
this.blockingModeProperty = new Property<BlockingMode>( BlockingMode.NO_BLOCKER, {
tandem: tandem.createTandem( 'blockingModeProperty' ),
phetioReadOnly: true,
phetioFeatured: true,
phetioValueType: EnumerationIO( BlockingMode ),
validValues: BlockingMode.enumeration.values
} );

this.isDirectionControllableProperty = new BooleanProperty( false, {
tandem: tandem.createTandem( 'isDirectionControllableProperty' )
tandem: tandem.createTandem( 'isDirectionControllableProperty' ),
phetioFeatured: true
} );

this.isZOrientedProperty = new BooleanProperty( isZOriented, {
tandem: tandem.createTandem( 'isZOrientedProperty' )
tandem: tandem.createTandem( 'isZOrientedProperty' ),
phetioFeatured: true
} );

this.isVisibleProperty = new BooleanProperty( true, {
tandem: tandem.createTandem( 'isVisibleProperty' ),
phetioReadOnly: true
phetioReadOnly: true,
phetioFeatured: true
} );

this.upProbabilityProperty = new NumberProperty( 0.5, {
Expand Down

0 comments on commit c9cfe1e

Please sign in to comment.