A profile refinement method for nuclear and magnetic structures | Synapse